# Linux history 命令参考

URL: https://caijiao.org/reference/linux/history
Source: docs/reference/linux/history.md
Description: Linux history 命令 Reference，整理常用语法、参数、示例、返回值和常见错误。

Linux history 命令 Reference，整理常用语法、参数、示例、返回值和常见错误。

## 语法

```bash
history [选项] [参数]
```

## 参数

- `name`：服务、任务、环境变量或系统项名称。
- `options`：控制查看、设置、启停、过滤或输出格式。

## 返回值

输出服务、日志、计划任务或系统信息，部分命令会修改系统配置。

## 示例

```bash
history --help
history [参数]
```

## 常见错误

- 修改服务配置后没有 reload/restart，变更不会生效。
- 只看状态不看日志，容易漏掉真实失败原因。

## 相关内容

- [Linux 教程](/linux/)
- [Linux / Docker 问题库](/how-to/linux-docker/)
- [Nginx 教程](/nginx/)
- [URL Encoder / Decoder](/tool/url-encoder-decoder)
