this was a very short example, a 3 line script, it only holds one
command, but you could put as many lines in the script as you want and
execute it with a four letter word.
If there are more commands in the script it will execute them in the
order that they are noted down.
Because /usr/bin is in your "path" you only have to type "del" to
you have to do complicated commands in a certain order on a regular
basis, make a little bash script, put it in your "path" and give it a
name that's easy to remember.
Next time we'll make a simple backup script, to backup and gzip the
contents of your /home directory.
More about bashscripts see: Introduction to bash Shell Scripting
-- Apr 29 2003 ( Revised Dec 9 2005 ) --