3.5 System Shutdown Flashcards
What happens when you run init 0 at the shell?
The system shuts down immediately.
How would you send a message to all users on the system without shutting down the system?
Use the shutdown -k message command.
Which commands shut the system down immediately?
The commands shutdown -h now, init 0, and halt all shut the system down immediately.
What command will reboot the system after 15 minutes?
The comand shutdown -r +15 will reboot the system after 15 minutes.
What is the purpose of the /etc/shutdown.allow?
The /etc/shutdown.allow command determines who is allowed to shut the system down when using the shutdown -a command.
How can you terminate the shutdown process after it is already running?
The keyboard sequence Ctrl-C and the command shutdown -c both terminate the shutdown process.
What does the command shutdown -h now do?
Shuts the system down immediately.
- -h specifies that the system halt or poweroff after shutdown.
- now forces the system to shut down without a delay.
What does the command halt do?
Shuts the system down immediately.
What does the command init 0 do?
Shuts the system down immediately.
What does the command shutdown -r now do?
Shuts the system down immediately and reboots.
What does the command reboot do?
Shuts the system down immediately and reboots.
What does the command init 6 do?
Shuts the system down immediately and reboots.
What does the command shutdown -h time message do?
Sends the specified message to all logged-in users and shuts the system down at the specified time.
What does the command shutdown -r time message do?
Sends the specified message to all logged-in users and reboots the system at the specified time and sends the specified message to users.
What does the command shutdown -h +5 System is going down do?
Sends the specified message to all logged-in users and shuts the system down in 5 minutes.