this post was submitted on 21 Nov 2026
468 points (98.1% liked)

Programmer Humor

34233 readers
1191 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 3 years ago
MODERATORS
 
top 31 comments
sorted by: hot top controversial new old
[–] A_A@lemmy.world 31 points 6 hours ago (2 children)

Layman explanation :
"PS1" is the primary shell prompt.
So, it is that which the linux operating system displays at the start of each line where you, the user, type a command.
Obtaining "#" as the prompt would normally indicate to the user that the next command is to be accepted as having "root privileges" (thought it could do whatever to the system) ... but in the above case, the "#" doesn't mean that ... nor anything other than : that prompt as been changed.

[–] diaphragmwp@discuss.tchncs.de 4 points 3 hours ago* (last edited 3 hours ago) (1 children)

Ah yes, the linux operating system... It's actually usually Linux distros that display lots of things with colors, other unixes are usually just the hostname with $ or #. Identifies the machine and isn't distracting, just how I like it. Except for the part when I forget which dir I am in, of course.

[–] aBundleOfFerrets@sh.itjust.works 1 points 4 minutes ago

thank goodness you can customize it

[–] dbx12@programming.dev 26 points 6 hours ago (3 children)

I already found another one!

echo $USER prints my current user name. Once I do USER=root it shows im running as root. And I wasn't even asked for my sudo password! :O :O :O

[–] some_guy@lemmy.sdf.org 1 points 2 minutes ago

Pwned again!

[–] daychilde@lemmy.world 4 points 2 hours ago

Huh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.

[–] goferking0@lemmy.sdf.org 1 points 1 hour ago

You joke but at work our security office mass reset passwords because they saw a list of users in the pwd file. Even after others pointed out it was just a list of usernames not their credentials AND that it couldn't be the actual credentials as we're an AD shop

They would definitely fall for that 😭

[–] Kojichan@lemmy.world 4 points 5 hours ago

So...

PROMPT=$P$G$_#

??

[–] Jakylla@jlai.lu 233 points 11 hours ago (3 children)
$ echo "Access granted."
Access granted.
[–] urushitan@kakera.kintsugi.moe 20 points 8 hours ago

gork is this tru

[–] ThunderComplex@lemmy.today 118 points 11 hours ago
[–] blx@piefed.zip 48 points 10 hours ago (2 children)

Fuck, it works on my machine. When can we expect a patch?

[–] daychilde@lemmy.world 7 points 2 hours ago

echo "Patch installed."

[–] polite_cat@lemmy.world 49 points 10 hours ago (2 children)

Have you read the full report?

You can work around the issue by removing the french language pack from your system.

[–] GeorgimusPrime@lemmy.world 1 points 26 minutes ago

4k remaster ftw

[–] slazer2au@lemmy.world 23 points 9 hours ago

Holy crap, didn't expect it to go I to that much detail.

[–] gnutrino@programming.dev 81 points 10 hours ago (1 children)

Dear god, when combined with terminal2shell this can compromise every Unix-like system ever created.

It all started with prompt2output... Who would have known

Neeeerrrrrrds!

[–] saltnotsugar@lemmy.world 27 points 10 hours ago (1 children)

Looks like the hacker was exporting your PlayStation 1!!! Lock this place DOWN.

[–] AwesomeLowlander@cozyver.se 6 points 7 hours ago (1 children)

Would you steal a PlayStation?

[–] TechnoCat@piefed.social 3 points 2 hours ago

No, but I would download a PS1.

[–] khannie@lemmy.world 1 points 5 hours ago* (last edited 5 hours ago)

For half a second I nibbled the onion. It didn't taste good.

Maybe 0.1 seconds. The filthy taste is still in my mouth though.

[–] communism@lemmy.ml 4 points 8 hours ago (1 children)
[–] aqua_cat@pawb.social 3 points 4 hours ago (1 children)

I am pretty sure you can tipe "bash" to switch to it in any shell.

[–] daychilde@lemmy.world 1 points 2 hours ago

tipe “bash” to switch to it in any shell.

I'm pretty sure typing bash turns it into bash, not any shell

;-)