> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/poweroff.md).

# poweroff

关闭Linux系统，关闭记录会被写入到/var/log/wtmp日志文件中

## 补充说明

**grename命令** 可以重命名卷组的名称。

### 语法

```
poweroff [选项]
```

### 选项

```
-n 关闭之前不同步
-p 当被称为halt时关闭电源
-v 增加输出，包括消息
-q 降低输出错误唯一的消息
-w 并不实际关闭系统，只是写入/var/log/wtmp文件中
-f 强制关机，不调用shutdown
```

### 例子

关闭Linux系统。

```
[root@localhost ~]# poweroff
```
