God, that’s brilliant. 😂
@firstname.lastname@example.org I especially love the doch and hiking videos! :-D
@email@example.com I was visiting Germany once, and saw a guy try to load his bicycle onto the bike racks they have on the front of city buses. There were rules about when you could do that, which were posted on the bus stop sign, and I guess the guy thought this was a time when he could do that. But no, the bus driver disagreed. The bus driver got off the bus with a rule book, flipped it open to what I guess were the rules about bikes on the bus, and showed him the rules. The guy pointed at the sign, the bus driver said no and pointed at the book, and they went back and forth for I don’t know how long. It felt a lot like these videos lol
@firstname.lastname@example.org lol 🤣 I’ve never witnessed anything like that, but yeah, we love rules. 🤣 (Except when we don’t because we know better. Of course we do.)
@email@example.com „Doch“ is such a weird word … but hey, we can do this (in Bash):
$ alias doch='sudo $(fc -nl 0)' $ chown -v ftp: hi chown: changing ownership of 'hi': Operation not permitted failed to change ownership of 'hi' from nobody:nobody to ftp:ftp $ doch changed ownership of 'hi' from nobody:nobody to ftp:ftp
@firstname.lastname@example.org You can also do
sudo !! (or
doas !!) if you’re using Bash.
@email@example.com Yep, that’s what I usually do. 😅
!! is not available in aliases or functions, though, so I had to resort to a little workaround …
@firstname.lastname@example.org @email@example.com Hahaha, very nice! :-D I did not know of
fc. @firstname.lastname@example.org Heck yeah, great story! :-D I never came across something similar. I know these buses exist, but I’ve never seen one in person.
@email@example.com I didn’t know about
fc either. It will definitely come in handy.