Answers for "sudo -s su root in one line"

0

sudo -s su root in one line

sudo bash -c "$(fc -ln -1)"
Posted by: Guest on October-03-2021
0

sudo -s su root in one line

su root -c 'sh /home/jay/script-that-needs-executing-as-root.sh'
Posted by: Guest on October-03-2021
0

sudo -s su root in one line

sudo "$BASH" -c "$(fc -ln -1)"
Posted by: Guest on October-03-2021
0

sudo -s su root in one line

sudo bash -c !!
Posted by: Guest on October-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language