Web Design and Development

Using tput to save, clear and restore the terminal contents

2010/06/17

Using tput to save, clear and restore the terminal contents $ tput smcup; echo ”Doing some things…”; sleep 2; tput rmcup Very useful for interactive scripts where you would like to …

List of commands you use most often

2010/06/16

$ history | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk …

Delete all files in a folder that don’t match a certain file extension

2010/04/30

$ rm !(.foo|.bar|*.baz) Deletes all files in a folder that are NOT *.foo, *.bar or *.baz files. Edit the pattern inside the brackets as you like. […] <a …

Lock the hardware eject button of the cdrom

2010/04/29

$ eject -i 1 This command will lock the hardware eject button of your cdrom drive. Some uses are: 1: If you have a toddler and has discovered the cdrom button 2: If you are carrying a laptop in a bag …

Convert decimal numbers to binary

2010/04/21

There is a calculator called bc that works in the command line. So if you need a quick calculator function in the command line then you could write some functions that will do the trcik for you. Here …

Xoost – Search engine

2010/03/10

<a title="Xoost Search engine" href="http://www.xoost.com" target="_blank">Xoost is a community search engine. From Xoost page: […] Imagine you are searching …

check out http://browsershots.org/

2009/12/19

If you are a web developer and are worried about how your <a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it