Cancel Shutdown on Fedora Linux using shutdown Command
Step by Step Cancel Shutdown on Fedora Linux using 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" &
[1] 3143
[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
[root@fedora ~]#
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
[root@fedora ~]#
Shutdown error:
1. If you get the "-bash: shutdown: command not found" error when execute shutdown command as show on example below...
Shutdown:
[fedora@fedora ~]$ shutdown -h 20:00 "shutdown in progress"
-bash: shutdown: command not found
[fedora@fedora ~]$
Cancel Shutdown:
[fedora@fedora ~]$ shutdown -c "cancel shutdown"
-bash: shutdown: command not found
[fedora@fedora ~]$
Shutdown error solutions:
2. you may need to log in as root user to execute shutdown command....or use the su command as show on example below and supply the root user password when ask...
Shutdown:
[fedora@fedora ~]$ su - -c "shutdown -h 20:00 'shutdown in progress'&"
Password:
[fedora@fedora ~]$
Broadcast message from root@fedora.linux.com
(unknown) at 4:42 ...
The system is going down for halt in 918 minutes!
shutdown in progress
[fedora@fedora ~]$
Cancel Shutdown:
[fedora@fedora ~]$ su - -c "shutdown -c 'cancel shutdown'"
Password:
shutdown: Shutdown cancelled
Broadcast message from root@fedora.linux.com
(/dev/pts/1) at 4:41 ...
cancel shutdown
[fedora@fedora ~]$
Note: This canceling shutdown command above have been tested on Fedora 7, Fedora 8, Fedora 9, Fedora 10
Keywords: cancel shutdown, cancel shutdown in progress, cancel shutdown command, fedora cancel shutdown, linux cancel shutdown
- 14532 reads
- Email this page
Recent comments
9 years 4 weeks ago
9 years 8 weeks ago
9 years 20 weeks ago
9 years 27 weeks ago
9 years 36 weeks ago
9 years 40 weeks ago
9 years 47 weeks ago
10 years 2 weeks ago
10 years 6 weeks ago
10 years 11 weeks ago