Bash special parameters

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to: navigation, search

The bash shell treats several parameters specially. These parameters may only be referenced; assignment to them is not allowed:

  1. $*
  2. $@
  3. $#
  4. $?
  5. $-
  6. $$
  7. $!
  8. $0
  9. $_