he special variable “$?” returns the exit code of last executed command in Bash shell script. Read Full Article.
Archive for the 'Bash' Category
How to get exit code of previous command in Bash
February 26, 2009How to find file name of the script with in a bash shell script
February 26, 2009Read Full Article w