linux 中shell 终端关闭和开启回显功能

 

001、关闭、开启回显功能

[root@PC1 test2]# seq 3
1
2
3
[root@PC1 test2]# stty -echo          ##   关闭回显功能,关闭后在终端输入内容将不再显示
[root@PC1 test2]# 1
2
3,
[root@PC1 test2]# [root@PC1 test2]#       ## stty echo 表示开启回显功能,开启后可以在终端正常的显示内容
[root@PC1 test2]# seq 3
1
2
3

 

posted @ 2023-06-15 00:12  小鲨鱼2018  阅读(1530)  评论(0编辑  收藏  举报