Skip to content

Instantly share code, notes, and snippets.

@zipizap
Last active December 25, 2015 06:59
Show Gist options
  • Save zipizap/6935769 to your computer and use it in GitHub Desktop.
Save zipizap/6935769 to your computer and use it in GitHub Desktop.
#Run command as user_x, within a login environment
sudo -u user_x -i echo This is my command and should not be quoted
@zipizap
Copy link
Author

zipizap commented Feb 21, 2014

removed quotes surrounding echo - with quotes it does not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment