Sample Header Ad - 728x90

Which are the (Bash) shell special parameters/variables?

17 votes
2 answers
6900 views
I've found some special parameters in Bash that start with $ (the dollar sign). For example, when I wanted to know the exit status, I used $?. For getting the process ID, there's [$$](https://askubuntu.com/q/496054) . What are the special Bash (shell) parameters and their usage?
Asked by Pandya (25613 rep)
Jul 25, 2015, 06:22 AM
Last activity: Feb 19, 2023, 03:09 PM