Some times you might want to shutdown your computer which runs linux using terminal because of several reasons. GUI of your operating system might not work or you just want to be a smart user of linux. what ever it is, lets see how we can shutdown our computer using linux command line.
It is easy,
- Press Ctrl+Alt+T for get in to the terminal.
- Enter the code
sudo shutdown -h now
and press Enter. - Type in your password (if prompted) press Enter again.
- Shutdown command
- this command will bring the system down with a warning message
- Poweroff command
- this command will stop the system
So you can use these two commands as well,
poweroff
shutdown -h +0
No comments:
Post a Comment