Lorem ipsum dolor sit amet, consectetur adipiscing elit. Test link

Search Suggest

How to reboot and shutdown Linux machine

Run command to reboot linux machine

You must login in system with root user or sudo privileges to run this command.

# reboot    (Reboot system gracefully)

or

# sudo reboot

or, 

# shutdown -r now

or,

# init 6    ( Reboot system forcefully)

Reboot system using systemctl

# systemctl reboot

Reboot system in specified time

# shutdown -r +5

Reboot system in linux in specified time and password the message to user

# shutdown -r +5 "Server is going down reboot in 5 minute. Kindly save your all changes."

Reboot system at specified time

# shutdown -r 4:00

Cancle shutdown executed job

# shutdown -c

Reboot linux machine remotly using ssh

ssh root@192.168.0.4 reboot

or,

ssh root@192.168.0.4 shutdown -r now


Shutdown linux machine

run command to shutdown machine

# shutdown -h now

or,

# poweroff

or,

# init 0

or,

# systemctl poweroff


Shutdown linux system in specified time

shutdown -h +10


Shutdown linux system at specified time

shutdown -h 4:00


Đăng nhận xét