Tuesday, November 30, 2010

Shutdown Command

The command example below show step by step to use shutdown command to cancel shutdown in progress on Fedora Linux system. You may need to log on as root user to cancel shutdown on certain Fedora system... In order to show the example of cancel shutdown process that in progress on Fedora system, we start the command example by running shutdown command.
Running Shutdown Process on Background
1. Running shutdown process on background... The shutdown command bellow tell Fedora system to shutdown at 8:00 pm (20:00).
[root@fedora ~]# shutdown -h 20:00 "shutdown in progress" &
[root@fedora ~]#
Broadcast message from root@fedora.linux.com
(/dev/pts/1) at 4:11 ...
The system is going down for halt in 949 minutes!
shutdown in progress
Cancel Shutdown
2. To cancel shutdown that in progress on Fedora system, execute shutdown -c as show on example below
[root@fedora ~]# shutdown -c "cancel shutdown"
Broadcast message from root@fedora.linux.com
(/dev/pts/0) at 4:28 ...
cancel shutdown

No comments:

Post a Comment