Bash Command Line: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=
* https://tldp.org/LDP/abs/html/standard-options.html
* https://www.tldp.org/LDP/abs/html/bash-options.html
* https://www.tldp.org/LDP/abs/html/bash-options.html


=Internal=
=Internal=
* [[Bash#Subjects|bash]]
* [[Bash#Subjects|bash]]
==Standard Command-Line Options==


=bash Command Line Options=
=<span id='bash_Command_Line_Options'></span>bash-specific Command Line Options=


==--==
==--==

Latest revision as of 19:32, 24 October 2020

External

Internal

Standard Command-Line Options

bash-specific Command Line Options

--

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

-c

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'

--version

Reverse Search

Ctrl - R