Given a command line:
prompt$ verb option1 option2 ... optionN
where is token is a group of characters separated by whitespace(blanks, tabs, etc)
You access them within your bash script as:
- $0 -- the name of the "verb" (see more below)
- $1 $2 ... $9 -- each option in order from left to right
- $* -- all of the options as a single value
You may learn more at a terminal with
and read about "Positional Parameters". NOTE -- 'man' launches the 'less' page reader.
Within less, type "/Positional" to search for that string.
If you have more than nine space-separated options, there is a built-in command, 'shift' to drag more options into place. Again 'man bash' is your friend.
The value of $0 is actually the full file path and name to the running script. So if you are running a script named "framis" that is stored in "/usr/local/bin", the verb will appear as "/usr/local/bin/framis".