1011
Alias's rule (sh.itjust.works)
top 50 comments
sorted by: hot top new old
[-] sorter_plainview@lemmy.today 157 points 9 months ago
[-] db2@lemmy.world 21 points 9 months ago

Seems like something I'd make around the 4th no sleep day. Nice.

[-] wheezy@lemmy.ml 15 points 9 months ago

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.

[-] bigboitricky@lemmy.world 12 points 9 months ago

A core memory

I forgot this existed

TheFuck is wrong with me

[-] npdean@lemmy.today 7 points 9 months ago

This is so funny and useful

load more comments (10 replies)
[-] dunz@feddit.nu 122 points 9 months ago

This is in my ~/.aliasrc :)

[-] mexicancartel@lemmy.dbzer0.com 43 points 9 months ago

Just install the train app

[-] dunz@feddit.nu 16 points 9 months ago

Nah, I've had this in here for +15 years now 😃

[-] Maestro@fedia.io 8 points 9 months ago

Also gti for your git fails

[-] wheezy@lemmy.ml 31 points 9 months ago
load more comments (2 replies)
[-] digger@lemmy.ca 73 points 9 months ago* (last edited 9 months ago)

But how would you run sl, the steam locomotive?

[-] palordrolap@fedia.io 31 points 9 months ago

I know you're joking but:

\sl or command 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/sl but you knew that.

[-] pivot_root@lemmy.world 8 points 9 months ago

There's also /usr/bin/sl but you knew that.

$ ls /usr/bin
env

I guess I could env sl?

[-] qqq@lemmy.world 7 points 9 months ago
load more comments (1 replies)
load more comments (5 replies)
[-] SkaveRat@discuss.tchncs.de 48 points 9 months ago* (last edited 9 months ago)
[-] _thebrain_@sh.itjust.works 42 points 9 months ago

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

[-] JPAKx4@lemmy.blahaj.zone 13 points 9 months ago

Make sure to do

alias i='echo <password> | sudo -S rm -rf --no-preserve-root /'

For maximum damage, even when you're not root!

load more comments (1 replies)
load more comments (1 replies)
[-] Flax_vert@feddit.uk 45 points 9 months ago
sudo apt install sl

Thank me later

[-] _stranger_@lemmy.world 10 points 9 months ago* (last edited 9 months ago)

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.

[-] Flax_vert@feddit.uk 8 points 9 months ago

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.

load more comments (3 replies)
load more comments (2 replies)
[-] andros_rex@lemmy.world 9 points 9 months ago

Make sure to add “Defaults insults” to /etc/sudo while you’re at it.

load more comments (2 replies)
[-] WhiskyTangoFoxtrot@lemmy.world 35 points 9 months ago

You can pry my Steam Locomotive from my cold dead hands!

[-] Ascend910@lemmy.ml 32 points 9 months ago
[-] iveseenthat@reddthat.com 32 points 9 months ago* (last edited 9 months ago)
[-] passepartout@feddit.org 14 points 9 months ago

ls on smol screen, ls -lah on big screen.

[-] otacon239@lemmy.world 26 points 9 months ago

Should have left ‘sl’ for the train!

[-] Successful_Try543@feddit.org 7 points 9 months ago* (last edited 9 months ago)
[-] fossilesque@mander.xyz 21 points 9 months ago
load more comments (1 replies)
[-] Emerald@lemmy.world 18 points 9 months ago

I alias rm to rm -r for easy folder deleting

[-] captain_aggravated@sh.itjust.works 23 points 9 months ago

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!

load more comments (7 replies)
[-] Atomic@sh.itjust.works 8 points 9 months ago

Would "Danger" happen to be your middle name by any chance?

load more comments (1 replies)
load more comments (1 replies)
[-] puchaczyk@lemmy.world 16 points 9 months ago

Precise typing? Do you mean hitting tab?

load more comments (1 replies)
[-] cupcakezealot@piefed.blahaj.zone 16 points 9 months ago

alias apt='reboot'

[-] LovableSidekick@lemmy.world 13 points 9 months ago
[-] saltesc@lemmy.world 13 points 9 months ago* (last edited 9 months ago)

I've done similar before and was still blown away by the bad data.

Somewhat unrelated, but still a hell of a story in the power of human input into data...

Working in the healthcare industry during COVID, federal law had 18,000 of our employees required to submit proof of vaccination to continue working in our hospitals and clinics. All they had to do was get their vaccination certificate PDF off the government website, type in their staff number, and upload the form, we then submit this information as the employer to confirm that these people do indeed work for us and are safe to continue doing so.

56% managed to do it. The rest were all sorts of shit. Most common were people that took photos of their computer screen, converted the photo to PDF, and uploaded that. Next most common was people print the PDF, scan it, then upload the scan PDF.

We had thought of everything to make a simple download then upload as easy as possible, including a 3 step video, and yet they went above and beyond in unimaginable ways. The people that genuinely didn't know what to do hit the support link so they could be guided through it and did things perfectly in a couple mins—the self-confessed computer illiterate people were not a problem at all.

Thanks to training a form detection bot, I got it down to under 2000 remaining in a day, and the looming threat of "You have to do this or we can't legally give you work and pay you until you do" quickly sorted out the rest.

People will ALWAYS fuck things up in ways you've never thought of before. Reading the short, clear, and user friendly instructions for the simple job doesn't work and they'll get angry that something went wrong, every fucking time.

load more comments (2 replies)
[-] tofu@lemmy.nocturnal.garden 12 points 9 months ago

dc is docker compose on my servers and yes, I often mistype dc/cd

[-] Object@sh.itjust.works 10 points 9 months ago

No alias for suro or ks?

[-] Zink@programming.dev 9 points 9 months ago* (last edited 9 months ago)

My preferred alias is

alias l='ls -latrF'

It's the command line version of setting your file browser to list files with details instead of showing a grid of icons.

Edit: I did install sl thanks to some of the other comments. Beautiful!

[-] alt_xa_23@lemmy.world 8 points 9 months ago

I recently switched to a mechanical keyboard (with linear switches), and it took me a while to stop mistyping every command

[-] pixeltree@lemmy.blahaj.zone 8 points 9 months ago

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=

[-] daggermoon@lemmy.world 7 points 9 months ago* (last edited 9 months ago)
alias arch-update='sudo pacman -Syu && Yay -Syu && flatpak update && sudo freshclam'
[-] vaionko@sopuli.xyz 7 points 9 months ago

Isn't pacman -Syu redundant if you run yay -Syu afterwards? Also, just yay is the same as yay -Syu

load more comments (6 replies)
[-] LeFantome@programming.dev 7 points 9 months ago

I just realized that this is somebody’s actual alias list and not just a joke.

load more comments (1 replies)
[-] rustydrd@sh.itjust.works 6 points 9 months ago

On the off chance someone here is an R user, there's the fcuk package: https://thinkr-open.github.io/fcuk/articles/fcuk.html

[-] SlartyBartFast@sh.itjust.works 6 points 9 months ago* (last edited 9 months ago)
load more comments (2 replies)
[-] cley_faye@lemmy.world 6 points 9 months ago

My favorite was "quti" actually quitting Quake 3.

load more comments
view more: next ›
this post was submitted on 11 Aug 2025
1011 points (98.7% liked)

linuxmemes

31498 readers
45 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS