DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux execute as user
sudo -H -u otheruser bash -c 'echo "I am $USER, with uid $UID"'
Source by askubuntu.com #
PREVIOUS
NEXT
Tagged:
#linux
#execute
#user
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit