\$ which python /usr/bin/python \$ ll `!!` lrwxrwxrwx 1 root root 9 2010-11-08 22:01 /usr/bin/python -> python2.6
Same as `sudo !!`. If you do not have permission to be sudo or sudo does not installed on your system, you can use this.
this command also can run the last command as root what's more, sudo !-2 can run the second last command as root , and so on
Runs the last command as root. This works in bash too. Kind of bulky, but makes a great alias.
chmod 755 foo.bar
operation not permitted
sudo !!
sudo chmod 755 foo.bar
[sudo] password for waldo:
(insert text of elation here)
do_something
# i don't wanna...
SUDO!!
# ok, fine...
https://www.xbytesolutions.com 1s
https://www.xbytesolutions.com/mobile-application-development-company.php
https://qualitygradebanknotes.com/