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.

Usage Permission: System Administrator.

Syntax

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

Parameter Description:

  • -n : Do not write memory data back to the hard disk before shutting down
  • -w : Does not actually shut down, just write records to /var/log/wtmp file
  • -d : Do not write records to /var/log/wtmp file
  • -i : Stop all network-related devices before shutting down
  • -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大全