TrumanWong

poweroff

Shut down the Linux system. The shutdown record will be written to the /var/log/wtmp log file.

Supplementary instructions

grename command can rename the name of the volume group.

grammar

poweroff [option]

Options

-n do not synchronize before closing
-p turns off power when called halt
-v increases output, including messages
-q Reduce the output of error-only messages
-w does not actually shut down the system, it just writes to the /var/log/wtmp file
-f forces shutdown without calling shutdown

example

Shut down the Linux system.

[root@localhost ~]# poweroff