DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
shell scripting run command with sudo
#Never use sudo inside a script. Instead call the script with sudo access sudo myscript.sh
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#shell
#scripting
#run
#command
#sudo
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit