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.
  
 
+
== Related ==
[[bash -e]]
+
* <code>[[bash -e]]</code>
[[bash -x]]
+
* <code>[[bash -x]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 07:52, 7 February 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.

Related

See also

Advertising: