Last active
December 25, 2015 06:59
-
-
Save zipizap/6935769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Run command as user_x, within a login environment | |
sudo -u user_x -i echo This is my command and should not be quoted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
removed quotes surrounding echo - with quotes it does not work