Try replacing your semicolons with colons. Also, you're probably better off putting in absolute paths (starting from the filesystem root -- "/") rather than relative paths (starting from the current directory -- "."). Once you've created your shell script, make sure you make it executable (chmod 755 <scriptname>). Then either put it into a directory that is already on your $PATH or make sure that you invoke it with an explicit path. In other words, if it's called "myscript" and it's in your current directory, you probably can't just type "myscript", as the current directory is probably not on your $PATH. Type "./myscript" instead.