Difference between revisions of "Bash -c"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://stackoverflow.com/questions/20858381/what-does-bash-c-do
 
* https://stackoverflow.com/questions/20858381/what-does-bash-c-do
 +
 +
-c string If the -c option is present, then commands are read from string.
 +
If there are arguments after the string, they are assigned to the positional parameters, starting with $0.
  
  

Revision as of 17:06, 18 October 2022

-c string If the -c option is present, then commands are read from string.
If there are arguments after the string, they are assigned to the positional parameters, starting with $0.


See also

Advertising: