Skip to content

Commit 4aefdf7

Browse files
authored
Create tty.md
1 parent a11d04c commit 4aefdf7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

command/tty.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
tty
2+
===
3+
4+
显示连接到当前标准输入的终端设备文件名。
5+
6+
## 补充说明
7+
8+
**grename命令** 可以重命名卷组的名称。
9+
10+
### 语法
11+
12+
```
13+
vgrename [选项] [旧卷组路径|旧卷组名称|旧卷组UUID] [新卷组路径|新卷组名称]
14+
```
15+
16+
### 选项
17+
18+
```
19+
-s 什么也不显示,只返回退出状态值
20+
```
21+
22+
### 例子
23+
24+
显示连接到当前标准输入的终端设备文件名。
25+
26+
```bash
27+
[root@localhost ~]# tty
28+
/dev/pts/0
29+
```
30+
31+
32+
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->

0 commit comments

Comments
 (0)