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
| | Leave a Comment
