User Tools

Site Tools


Programming Reference/Librarys

Question & Answer

Q&A is closed


bash: "How To" ... running commands

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

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
bash/how_to/run_command.txt · Last modified: 2024/02/16 01:04 (external edit)

Impressum Datenschutz