Special Variables Flashcards
1
Q
What does $* refer to?
A
All the arguments typed on the command line. If you use this in echo it will remove quotes.
2
Q
What does $# refer to?
A
The number of arguments or parameters that were typed on the command line.
3
Q
What does $? refer to?
A
Echo this command to see the exit status of the previous command.
4
Q
What does “$@” refer to?
A
All the arguments on the command line, but interprets quotes if you use in echo.