Posted: . At: 12:54 PM. This was 9 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.


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


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 thought on “How to shutdown your Linux system properly with the command prompt.”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.