What’s wrong with running Linux / UNIX shutdown command on a network?

by Vivek Gite · 0 comments

Q. I was reading some document online and come across statement like -- it is a bad idea to run halt / 'shutdown -h now' command over ssh/telnet session. What’s wrong with running shutdown on a network?

A. shutdown command arranges for the system to be brought down in a safe way. All logged-in users are notified that the system is going down. In most cases system will also loss power and entirely shutdown. There will be no network access.

If you run this command remotely you will NOT able to turn on server until and unless you have some sort of remote reboot or power on/off capabilities for your server.

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All