DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
run a command with sudo su
CMD="sudo su -c "pm2 restart 0; pm2 restart 1;""
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#run
#command
#sudo
#su
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit