Friday, April 25, 2008

shell scripting with /bin/sh

I found this half decent tutorial / how-to on shell scripting with /bin/sh which i do lots but suck at.

here it is:

also, to check if a file DOES NOT exist:

if [ ! -e /path/to/file ];
# do something

ok i am done!

No comments:

Post a Comment