kmirl
fuck() {
sudo $(fc -ln -1)
}
This function takes the last command and puts sudo in front of it. Actually used it in a zoom call at work without thinking and it took a second to realize why everyone was laughing. Not my invention–came across it years ago on stackoverflow or someplace and thought it was funny/useful.
kmirl@tux:~$ ls /root
ls: cannot open directory '/root': Permission denied
kmirl@tux:~$ fuck
[sudo] password for kmirl:
bin debs docs Mail
I have a Yahoo email account from the mid-late 90’s…
I got my license in the early 80’s, and at that time the cheapest cars were older american beaters with utterly terrible 2 and 3-speed slushbox automatics. The alternative were Japanese cars like Honda Civics, small, reliable, manual transmission cars that got great gas mileage and were way more fun to drive. All these years later I’m still driving a manual, currently a 2021 Toyota Corolla. It’s paid for, it gets around 35 mpg, and with regular maintenance it will run until the end of time.
I know American cars have improved a lot since the malaise era but you generally can’t get them with manual transmissions, so I’ll stick with the imports for now.
“DOT EXEPT”