Difference between revisions of "Bash -c"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
  If there are arguments after the string, they are assigned to the positional parameters, starting with $0.
 
  If there are arguments after the string, they are assigned to the positional parameters, starting with $0.
  
 +
 +
[[bash -e]]
 +
[[bash -x]]
  
 
== See also ==
 
== See also ==

Revision as of 12:22, 23 January 2023

-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.


bash -e
bash -x

See also

Advertising: