this post was submitted on 30 Sep 2024
549 points (97.2% liked)

Programmer Humor

25448 readers
1158 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.ml 16 points 10 months ago* (last edited 10 months ago) (5 children)

echo $PATH

And alias to be sure.

[–] rickyrigatoni@lemm.ee 5 points 10 months ago (4 children)

bash: echo: command not found

bash: alias: command not found

[–] Faresh@lemmy.ml 7 points 10 months ago* (last edited 10 months ago) (2 children)

echo and alias are both shell commands. If the shell is running (which it obviously still is), those commands should still work, as it does not involve reading data from disk, but from memory.

Edit: I just noticed the picture said cd was not found, which is also a shell built-in. So, I don't know.

[–] dko1905@discuss.tchncs.de 5 points 10 months ago

Just tested it in a container. The original screenshot is wrong:

screenshot of them being wrong

load more comments (1 replies)
load more comments (2 replies)
load more comments (2 replies)