What do the following environment variables in Linux mean?
As Brian commented, here is a simple example. If you run following command:
The we will have:
These are part of POSIX standard, and should be supported by all compliant shells. For the reference, below is POSIX standard definitions for each special parameter. Do note there's three additional variables: $-, $$ and $!.
Check sample bash script:
* Bash - Internal Variables