Subscribe RSS
Basic Bash Stuff Nov 25

Some resources for bash scripting

BASH String Manipulation
Bash How To

Sed

What a night mare. Heres an excellent reference to sed :

http://www.grymoire.com/Unix/Sed.html

Some bits’n pieces:

If.. then... else

if [ "$ERRORCODE" != "0" ]; then
echo “error!”
else
echo “pass!”
fi

See our more recent post on bash string filename manipulation.

Category: Linux  | Tags: ,
You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.
Leave a Reply