this post was submitted on 01 Oct 2025
595 points (99.3% liked)

Programmer Humor

26673 readers
1766 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MonkderVierte@lemmy.zip 10 points 16 hours ago* (last edited 16 hours ago) (4 children)

How can a shell alias be undocumented? Type alias, there is the oneliner that can't be too complicated due to lack of variables.

[–] marcos@lemmy.world 3 points 10 hours ago

Nobody write down that if you run the stuff in a different machine, you have to create the alias first.

And once you lose the machine and are trying to restore your backups, you can't run alias and discover what doThingy actually does.

[–] cupcakezealot@piefed.blahaj.zone 9 points 14 hours ago* (last edited 14 hours ago) (1 children)

alias thisdoessomething='cd /home/linuxuser/ && ./myscript.sh'

[–] elvith@feddit.org 10 points 11 hours ago (1 children)

alias cd='echo "command not found"'

[–] jaybone@lemmy.zip 6 points 15 hours ago

If you try hard enough

[–] SaharaMaleikuhm@feddit.org 1 points 12 hours ago

This a joke? Cause that won't show up on another machine. Of course it's undocumented.