Share your favorite Bash alias.
Mine is: please='sudo $(fc -ln -1)'
It will rerun the last command with a sudo.
Ah, a bash builtin.
"fc is used to list or edit and re-execute commands from the history list."
Yeah, that alias could be handy. Funny name for it though. Is it like pleading for that last command to work? lol Like, "grrrr effing permissions! please work this time!"
@bingst Exactly, as in, "You forgot to say 'Please'"
@bingst so is "fc" like "cd.."?
@dalefvictor Apparently it stands for "fix command." Not very intuitive.
[unix.stackexchange.com]
[gnu.org]
@bingst thanks for the information and the link. I have not known of this site. Thanks.
Posted by FrayedBearAnyone using Android 12? Are you having problems with the Gmail app no longer working along with the PlayStore?
Posted by ScubaWagsWow, Windows 11 will have tiling windows. No one has ever done that before...
Posted by ScubaWagsThis made me giggle
Posted by OldMetalHeadThis is quite interesting. I knew Ubuntu would be high, but I honestly didn't expect it to be that high.
Posted by ScubaWagsApparently it's penguin awareness day today... I assume that must include Tux
Posted by hrichardson8Hey, I resemble that remark. [xkcd.com]
Posted by HiFiGuyHello, everyone! I'm new and I just wanted to say hello and share a little bit about myself.