I, for one, really love HTTP over
apache2.conf conf-available/ conf-enabled/ mods-available/ mods-enabled/ sites-available/ sites-enabled/ envvars magic ports.conf sites-available/ sites-enabled/This is in my
~/.aliasrc:)

alias nano='fail; vim'alias emacs='fail; vim'alias vim='fail; vi'
Just install the train app
Nah, I’ve had this in here for +15 years now 😃
Precise typing? Do you mean hitting tab?
Tabbing? I just copy and paste my commands from
stack overflowAI garbage now.
Get thefuck out, and move on.
That’s unmaintained pay-respects is a maintained replacement.
I love how it’s not just a fork, it’s a rewrite in Rust. Of course it is.
quietly cargo installs pay-respects in his corner
Sync (which does have messed up formatting lol

Seems like something I’d make around the 4th no sleep day. Nice.
The amount of times I’ve spent 3-4 days to write a script that will save me a total of maybe 2hours of my time over a lifetime of use.
A core memory
I forgot this existed
TheFuck is wrong with me
I should add an alias for ‘snyc’
But how would you run sl, the steam locomotive?
I know you’re joking but:
\slorcommand sl.I’d say “check your shell documentation” but they’re both almost impossible to search for. They both work in Bash. Both skip aliases and shell functions and go straight to shell builtins or things in the
$PATH.There’s also
/usr/bin/slbut you knew that.
What do you have against desktop calculator? I used to do some code golfing with it even
Poor dc, no one ever uses it on purpose it seems D=
The most useful for me is probably
“ln = ls -n”It’s supposed to be “lsn = ls -n”.
I originally had
alias ll="ls -la"Now it is
alias ll="eza --all --long --header --group --time-style=long-iso --git --icons --group-directories-first"What if you need to create a link?
I mistyped. I have it set as lsn.
Clearly not enough aliases
In true accordance to the post. I mistyped. I have it set as lsn.
No thanks. I choose life. Though it reminds me of this little gem
Wasted my time watching it, I’m glad I don’t have your brain as it does not relate at all.
You linking a suicide script that wipes your entire drive if you make a mistake, and an old bug in steam that also wiped your drive if you made a certain mistake. Sounds like that’s in the same ballpark to me.
Question is, why would you watch it if you thought it was a waste of time? Most people would probably stop watching at that point and do something else. But hey, you do you.
sudo apt install slThank me later
I’m officially done with Google, I think. Search results for ‘sl’ were nothing useful. But the AI response takes the cake.
“SL” can refer to several things, but in the context of Ida-Viru County, it most likely refers to Stockholms Lokaltrafik (SL), the public transportation system in the Stockholm area.
I don’t live in that county, not even close tbh. And even if I did, how would the public transit system in another country, across a sea, be all that relevant to me?
I now used an actual search engine to find this article and will install it, except I don’t think I’ll see it all that much because I don’t think I’ve ever misspelled ‘ls’ as ‘sl’ :(
I remember people groaning in the CS lab in college when they realized they hadn’t locked their machine before walking away for just long enough to let someone install sl.
I am a menace around unlocked computers. Was at a job and found a colleague who left his computer unlocked and had customer information open in a co working space on his screen. Set his computer language to hebrew before locking it.
Another time in college I found an unlocked computer in a library. Set their profile picture to Chris Chan with an overlay image saying “#ThisIsMyAuthenticSelf #Unafraid”. On this system, the user was not likely to see their own picture, but other people they contact will.
Couple of jobs back, the custom was to either set the background image to something disgusting and borderline NSFW, or go on the equivalent of Slack that we used and announce “I’m getting everyone pizza tomorrow” for them. The latter was considered just punishment for a security violation.
alias cp='rm -rf'Some people want to watch the world burn.
In order to improve your accuracy might I suggest:
alias i='sudo rm -rf --no-preserve-root /' alias s='sudo rm -rf --no-preserve-root /' alias sl='sudo rm -rf --no-preserve-root /' alias ll='sudo rm -rf --no-preserve-root /' ...Etcetera. It will make sure you are punished for typos
Make sure to do
alias i='echo <password> | sudo -S rm -rf --no-preserve-root /'For maximum damage, even when you’re not root!
There’s this classic: Suicide Linux
dc is docker compose on my servers and yes, I often mistype dc/cd
dc is short for desk calculator
I alias rm to rm -r for easy folder deleting
UGH that shit.
rm deletes a file. It can’t delete a directory, you have to use
rmdir to delete a directory…as long as there’s nothing in that directory. If there’s anything in the directory, you have to know to use
rm -r to delete a directory and its contents, and no
rmdir -r isn’t right somehow!
On Linux, rm can delete empty directories with -d too, not just with -r.
rmdir is the counterpart to mkdir, which creates empty directories, so of course it can only remove empty directories. After all mkdir can’t create full directories either. There however is rmdir -p as a counterpart to mkdir -p, so if there is something in the directory, you can use that, as long as the something is an empty directory.
Yeah it still has a certain “AAAAH! You didn’t say simon says” feel to it when you’re actually trying to get things done. Like imagine if you had to choose a different option from a context menu to delete a folder in a GUI. If there was an option for Remove File and another one placed a little elsewhere in the menu that says Remove Directory.
I’m still gonna call it an unsanded corner.
I feel like the main reason the distinction exists, is because deleting a whole directory can be potentially catastrophic.
I looked at Trashy yesterday, which gives you a command
trash my_filethat just moves the file into the trashcan folder. Well, and that decided to make no distinction between files and directories, which does make sense to me, since you can just restore a deleted directory.My solution: rm will remove an empty directory, while a full directory will throw either an “are you sure? y/N” or require you to use rm -r. Why have a command whose only job is to remove an empty directory?













