553
of=/dev/sda (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] MonkderVierte@lemmy.ml 16 points 1 month ago* (last edited 1 month ago)

echo $PATH

And alias to be sure.

[-] rickyrigatoni@lemm.ee 4 points 1 month ago

bash: echo: command not found

bash: alias: command not found

[-] Faresh@lemmy.ml 7 points 1 month ago* (last edited 1 month ago)

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 1 month 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)
this post was submitted on 30 Sep 2024
553 points (97.4% liked)

Programmer Humor

19564 readers
1312 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 1 year ago
MODERATORS