epcim
7/26/2017 - 3:01 PM

sudo bash workarounds

sudo bash workarounds


# type sudo before every command
bind 'RETURN: "\e[1~sudo \e[4~\n"'

# keep sudo active
sudo ls / # type password first
while true; do sudo echo x > /dev/null; sleep 200; done &