How to shutdown your Linux system properly with the command prompt.

Posted: December 18, 2014. At: 12:54 PM. This was 3 years ago. Post ID: 7970
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

The shutdown command for Linux and UNIX is used to shutdown your Linux system properly.

This command will bring down the system immediately.

shutdown -h now

This will shut down the system in 60 minutes.

shutdown -h +60

Use this command to reboot the computer immediately.

shutdown -r now

Here is an alternative command for shutting down your machine. This will switch to runlevel 0 and switch off your computer.

init 0

Of course, the user could use this command as well.

poweroff

As the name implies, this will shut down your machine.

1 responses to “How to shutdown your Linux system properly with the command prompt.

Leave a Reply