this post was submitted on 09 Jan 2025
159 points (99.4% liked)

Programmer Humor

19932 readers
1816 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
 

[Meme transcription:]

– Hey, why is the shell prompt on the production server red now?
– Earlier: me@prod:~$ docker container remove --force the-application

Protip: If you’re used to shutting down your computer via the CLI, make it a habit to use an alias like off.

This way you will never, ever turn off a remote server by accidentally using throwing poweroff at a residual SSH connection.

you are viewing a single comment's thread
view the rest of the comments
[–] Kidplayer_666@lemm.ee 46 points 22 hours ago (2 children)

Here we simply have a tool that on dangerous commands like power off or reboot asks for the host name of the machine in question. Didn’t stop me from accidentally rebooting a machine once, but no matter

[–] derbolle@lemmy.world 10 points 22 hours ago (1 children)

sounds interesting. do you have the name of the tool or is it a custom script

[–] Gyroplast@pawb.social 22 points 22 hours ago* (last edited 22 hours ago)
[–] whodatdair@lemmy.blahaj.zone 4 points 21 hours ago

Holy shit that’s brilliant