34
Awlex
28d

* Sets up some software
"Alright, and now to start the database"
* types "sudo systemctl start po-"
* hits tab -> poweroff.target
* Enter
...fuck me

little did I know, the database was already started...

Comments
  • 7
    The first rule of Linux camp: never alias shutdown -h now
    The second rule of Linux camp: maybe I could save a few keystrokes by...
  • 8
    I've found it somewhat working practice to write the command first without sudo and only add it when I'm sure I wrote what I meant to. I do this sometimes especially with longer commands.
  • 8
    Taking down production with bad code < Taking down production with linux shell autocompletion
  • 0
    @impune-pl fortunately I did that on my own machine. No users angered
Add Comment