Powering off safely
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
Shut the system down IMMEDIATELY | shutdown - h now -
halt -
init 0
🗑
|
||||
Shut the system down immediately and REBOOT | shutdown - r now -
reboot -
init 6
🗑
|
||||
Shut the system down in a designated amount of time and send a message | shutdown -h {time message}
🗑
|
||||
Example: Shut the system down in 10 minutes and send a message "The system is going down in 10 minutes" | shutdown -h +10 The system is going down in 10 minutes
🗑
|
||||
Shut the system down and REBOOTin a designated amount of time and send a message | shutdown -r {time Message}
🗑
|
||||
Example: Shut the system down and REBOOT in 15 minutes and send a message "The system is rebooting in 15 minutes" | shutdown -r +15 The system is rebooting in 15 minutes
🗑
|
||||
Reboot the system at midnight and send a message "System reboots at midnight" | shutdown -r 24:00 System reboots at midnight
🗑
|
||||
shut the system down at 10:00 PM | shutdown -h 22:00
🗑
|
||||
Terminate the shutdown process | shutdown -c
- Ctrl+c
🗑
|
||||
Reboot the system and skip the fsck utility on reboot | shutdown -rf
🗑
|
||||
shutdown parameter that stands for FAST REBOOT | -f
🗑
|
||||
Send a warning message, but does not actually shut down | shutdown -k
🗑
|
||||
Example: Send the message "Please log out of the system" but do not actually shut the system down | shutdown -k Please log out of the system
🗑
|
||||
Example: Send the message "Please log out of the system" but do not actually shut the system down - terminate the message after message is sent | shutdown -hk Please log out of the system
🗑
|
||||
Use the ---- file to shut down the system | /etc/shutdown.allow
🗑
|
||||
The most common use of the shutdown -a switch is to edit this file | /etc/inittab
Add the -a switch to the CTRL-ALT-DELETE section
🗑
|
||||
When the -a switch is present in the /etc/inittab file, shutdown reads the: | /etc/shutdown.allow file
🗑
|
||||
If a listed user or root is logged into the system | The system shuts down
🗑
|
||||
If a listed user or root is NOT logged into the system | Shutdown is not allowed
🗑
|
||||
There are no shutdown restrictions if this file does not exist | /etc/shutdown.allow
🗑
|
||||
When using the shutdown command to shut down a computer, the system does the following: | 1. Sends a SIGTERM message to running programs to allow them to close -
2. Notifies logged on users that the shutdown process has started and the length of time before shut down
🗑
|
||||
When using the shutdown command to shut down a computer, the system does the following: | 3. Blocks users from logging into the system -
4. Uses init and /etc/inittab to shut down processes and the system
🗑
|
||||
Command will reread the entries in /etc/inittab and make the settings active | init q
🗑
|
||||
File contains a list of users who are able to shut down the system | /etc/shutdown.allow
🗑
|
||||
Prevent fsck from running after the reboot and allow the system to boot faster | shutdown -f
🗑
|
||||
Force fsck to run on reboot | Shutdown -F
🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
johnadream
Popular Computers sets