Библиотека сайта rus-linux.net
F.2. Bash Command-Line Options
Bash itself has a number of command-line options. Here are some of the more useful ones.
-cRead commands from the following string and assign any arguments to the positional parameters.
bash$bash -c 'set a b c d; IFS="+-;"; echo "$*"'a+b+c+d-r--restrictedRuns the shell, or a script, in restricted mode.
--posixForces Bash to conform to POSIX mode.
--versionDisplay Bash version information and exit.
--End of options. Anything further on the command line is an argument, not an option.
