this post was submitted on 18 Jul 2023
910 points (95.0% liked)

Programmer Humor

32730 readers
370 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] superkret@feddit.de 18 points 1 year ago (2 children)
$ alias vim='timeout 600 vim'
[–] odium@programming.dev 20 points 1 year ago (1 children)

alias vim='sudo rm -rf / --no-preserve-root'

You ought to be punished for your transgressions

[–] kbotc@lemmy.world 5 points 1 year ago

That prompts in most modern distros. You should pipe it to sshpass.

[–] tool@r.rosettast0ned.com 5 points 1 year ago (1 children)

I've been using Linux professionally for a couple of decades and using it altogether since like 1996. I never knew about the timeout command. I'm gonna have some fun with that.

I wonder if I can set someone's shell to it...

[–] JoMiran@lemmy.ml 2 points 1 year ago

Always -k. Ask nicely but unsheathe the katana, just in case.