1Z0-821 · Question #37
Identify three differences between the shutdown and init commands.
The correct answer is A. init shuts a system down faster than the shutdown command. B. Only shutdown broadcasts a final shutdown warning to all fogged in users. E. The shutdown sends a shutdown message to any systems that are mounting resource-tern that is. Shutdown is executed by the super user to change the state of the machine. In most cases, it is used to change from the multi-user state (state 2) to another state. By default, shutdown brings the system to a state where only the console has access to the operating system. This…
Question
Identify three differences between the shutdown and init commands.
Options
- Ainit shuts a system down faster than the shutdown command.
- BOnly shutdown broadcasts a final shutdown warning to all fogged in users.
- Cinit does not terminate all services normally. The shutdown command performs a t shutdown of
- DThe shutdown command can only bring the system to the single-user milestone. The command
- EThe shutdown sends a shutdown message to any systems that are mounting resource-tern that is
- FThe shutdown command will shut the system down and turn off power; init will only shut system down.
How the community answered
(32 responses)- A81% (26)
- C3% (1)
- D13% (4)
- F3% (1)
Explanation
Shutdown is executed by the super user to change the state of the machine. In most cases, it is used to change from the multi-user state (state 2) to another state. By default, shutdown brings the system to a state where only the console has access to the operating system. This state is called single-user. Before starting to shut down daemons and killing processes, shutdown sends a warning message and, by default, a final message asking for confirmation. message is a string that is sent out following the standard warning message "The system will be shut down in ..." If the string contains more than one word, it should be contained within single (') or double (") quotation If a 0 through 6 is entered, init enters the corresponding run level. Run levels 0, 5, and 6 are reserved states for shutting the system down. Run levels 2, 3, and 4 are available as multi-user operating states. 0 Go into firmware. 5 Shut the machine down so that it is safe to remove the power. Have the machine remove power, if possible. 6 Stop the operating system and reboot to the state defined by the initdefault entry in /etc/inittab.
Topics
Community Discussion
No community discussion yet for this question.