Introduction
Special variables help you get information about your script and its inputs easily.
When you want to know the name of the script being run.
When you need to access the arguments passed to your script.
When you want to count how many arguments were given.
When you want to check if the last command worked or failed.
When you want to know the process ID of your running script.