Bash Command Line

From NovaOrdis Knowledge Base
Jump to: navigation, search



Standard Command-Line Options

bash-specific Command Line Options


End of options. Anything further on the command line is an argument, not an option.


Start a non-interactive shell, which executes the string that follows -c. To avoid the shell that executes the bash invoked with -c to perform command line expansion, the string should be enclosed in single quotes:

bash -c 'i=0; echo $i'


Reverse Search

Ctrl - R