> 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/logname.md).

# logname

用来显示用户名称

## 补充说明

**logname命令** 用来显示用户名称。

### 语法

```
logname(选项)
```

### 选项

```
--help：在线帮助；
--vesion：显示版本信息。
```
