Re:Fish: A user-friendly command line shell for macOS, Linux...
by eu on Wednesday December 13, 2017 @10:41AM
(#15914899)
Care to explain what this does? Thanks
[ Parent
| on HN ]
Re:Fish: A user-friendly command line shell for macOS, Linux...
by pta2002 on Wednesday December 13, 2017 @11:45AM
(#15915365)
!! is the last command, so sudo !! will run the last command as root.
e.g. apt install foo # you need root permissions to install, won't work sudo !! # will expand to sudo apt install foo, and it'll work!