Search
 
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
Name
3+1 =