reboot and shutdown Flashcards

1
Q

we are telling the system to shut down and restart right now.

A

shutdown -r now

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

broadcasts a message to all logged in user (after message typed you terminate it with Ctrl + D)

A

wall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

if you’re on an older upstart or System 5
init system. Which we’ll switch you to run level 0, and halt your computer.

A

telinit 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Here we use the -h option to indicate that we want to halt and power down the computer, and then we specify a time. And within one minute, the computer will shut down,
and you can also see that wall was invoked to send a message to all logged in users that the computer will be powered down in one minute.

A

shutdown -h +1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Advanced Configuration and Power Interface registers system events (such as pressing power
button or closing laptop lid)

A

acpid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly