English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux poweroff Command

Linux Command大全

The poweroff command is used to shut down the computer and cut off the power.

Permission to use: System administrator.

Syntax

poweroff [-n]-w]-d]-f]-i]-h]

Parameter Description:

  • -n : Do not write memory data back to the hard disk before shutdown
  • -w : It will not really shut down, just write records to /var/log/the wtmp archive
  • -d : Do not write records to /var/log/in the wtmp file
  • -i : Stop all network-related devices first before shutdown
  • -p : Set all hardware in the system to standby mode before shutting down the operating system.

Online Examples

Shut down the system

# poweroff

Linux Command大全