User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







bash:how_to:run_command

bash: "How To" ... running commands

operationwhatcode
executionresult of command executionRSLT=$?
being rootif ($(id -u) -eq 0))
execute command in variable “CMD
e.g. to programatically run same command
either on localhost or via added ssh prefix
CMD=“command parameter …”
eval $CMD

work in progress

advertising
bash/how_to/run_command.txt · Last modified: 2018/08/03 06:23 by Rob Stroess

Impressum Datenschutz