0

In our Linux environment, we freeuently use a script called “shutdown.sh”. It wouldn’t be really problem if we didn’t have to switch to rootduring the execution. But damn it, it gives me heart attack when I use autocomplete and execute first thing.

Comments
  • 3
    shutdown.sh ...

    Why are all kinds of red alerts in my mind pooping up?
  • 1
    That feels like questionable design. If anything it should not be in a place where autocomplete can pick it up and it should probably have a more descriptive name and a bunch of checks.
  • 0
    That's just asking for trouble if it does something other than shuts down the whole server
  • 1
    Have you considered just clicking the power off button.
Add Comment