Archive for the 'Shell Scripting' Category

How to find file name of the script with in a bash shell script

December 5, 2008

With in a bash shell script, you can use the very first command line argument ($0) to find the name of the script.
Read Full Article

Bash shell script to convert string from lower to upper case

December 5, 2008

The tr command can be used to change the case of a string variable.
Read Full Article

How to get exit code of previous command in Bash

December 5, 2008

A special variable can be used to get the exit status of last command executed.
Read full article: How to get exit code of previous command in Bash