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