If you are a command line geek then you would have often entered the wrong commands many times, some of which could lead to accidental shutdown/restart. Molly-Guard is a command line script which prevents you from accidentally shutting down or rebooting your Ubuntu system.