Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
trulyrandom
· 7y ago · 0 comments
My most used alias would be:
alias fuck='sudo $(history -p !!)'
It runs the previous command as root.
Comments
[–]
pvinis
7y ago
I like that. I'll borrow it, but I'll rename it to 'damn', as 'fuck' it dedicated to
https://github.com/nvbn/thefuck
.
[–]
richardwhiuk
7y ago
See also sudo !!
[–]
TaelBE
7y ago
Didn't see this before I posted, but I have basically the same, but I say please instead of fuck. :)