This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
tty
===
显示连接到当前标准输入的终端设备文件名。
## 补充说明
**tty命令** 可以显示连接到当前标准输入的终端设备文件名。
### 语法
```
tty [选项]
### 选项
-s 什么也不显示,只返回退出状态值
### 例子
```bash
[root@localhost ~]# tty
/dev/pts/0
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->