Category Archives: Shell

Shell Script basics

Special variable Lets say you have a script “script.sh” Now if you run the script as “./script.sh par1 par2” Following is the content of the script.sh. Here $0, $1, $2 are special variable. echo $0 echo $1 echo $2 Output … Continue reading

Posted in Other, Shell | Leave a comment