一天一条Linux指令-reset
2016-11-04 12:50
302 查看
我使用过的Linux命令之reset - 终端屏幕混乱的终结者
本文链接:http://codingstandards.iteye.com/blog/802122 (转载请注明出处)
用途说明
reset命令是用来重新初始化终端的(terminal initialization)。在有些情况,终端显示会混乱无比,比如不小心显示了一个二进制文件,以前我在不知道reset命令时,只好将终端强行关闭,然后重新登录。现在只需要输入reset然后回车就会将混乱的显示通通清除掉,恢复正常状态。
常用参数
无。
使用示例
示例一 在屏幕显示混乱时输入reset终止
Last login: Wed Nov 3 16:31:05 2010 from cvsbank[root@web ~]# cat /bin/pwd
混乱的输出,列位自己试下就知道了。
[root@web ~]#
[root@web ~]#
[root@web ~]#
[root@web ~]# reset
输入reset按回车,可能在屏幕上看不到命令回显。
[root@web ~]#
[root@web ~]#
示例二 reset命令实际上只是个链接文件
[root@web186 root]# type -a reset reset is /usr/bin/reset
[root@web186 root]# ls -l /usr/bin/reset
lrwxr-xr-x 1 root root 4 2006-05-21 /usr/bin/reset -> tset
[root@web186 root]#
相关文章推荐
- 一天一条Linux指令-CPU
- 一天一条Linux指令-useradd
- 一天一条Linux指令-touch
- 一天一条Linux指令-nano
- 一天一条Linux指令-tzselect
- 一天一条Linux指令-make
- 一天一条Linux指令-sleep
- 一天一条Linux指令-crontab
- 一天一条Linux指令-ls
- 一天一条Linux指令-umount
- 一天一条Linux指令-echo
- 一天一条Linux指令-clear
- 一天一条Linux指令-add-apt-repository
- 一天一条Linux指令-man
- 一天一条Linux指令-usleep
- 一天一条Linux指令-ar
- 一天一条Linux指令-help
- 一天一条Linux指令-mv
- 一天一条Linux指令-alias
- 一天一条Linux指令-file