Shutdown computer using terminal (Ubuntu)
Shutdown commandEnter the command below:
root@penreturns:~$ sudo shutdown -h nowor
root@penreturns:~$ sudo shutdown -h 0Shutdown computer at a scheduled time
if you want to shutdown command at a scheduled time enter the following command
root@penreturns:~$ sudo shutdown -h 12:00 "System is shutting down"This will shutdown your computer on 12pm with sending this message to all user.
You can also use power off or halt command to do this.
root@penreturns:~$ sudo haltor
root@penreturns:~$ sudo poweroff
Reboot computer
Enter the command below:
root@penreturns:~$ sudo rebootor
root@penreturns:~$ sudo shutdown -r 0Enjoy! Rccool !
*copy code without root@penreturns:~$
1 comment
test comment
Post a Comment