Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sudo -s su root in one line

sudo bash -c "$(fc -ln -1)"
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #sudo #su #root #line
ADD COMMENT
Topic
Name
2+4 =