bash -c

From wikieduonline
Revision as of 14:20, 19 February 2023 by Brave (talk | contribs)
Jump to navigation Jump to search

-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

bash -i
bash --rcfile .mybashrc -ci 'echo $FOO'

See also

Advertising: