当用cat或tail命令显示一个二进制文件后终端可能会变成乱码
解决方法:
1.输入clean命令或按ctrl+L
2.输入reset命令
3.按ctrl+v再按ctrl+o 会出现个^O再按回车
ctrl+v 表示下一输入为特殊字符
ctrl+o 表示^O 切换为原来字符集
参考:
http://www.cyut.edu.tw/~ckhung/b/mi/textmode.php
当用cat或tail命令显示一个二进制文件后终端可能会变成乱码
解决方法:
1.输入clean命令或按ctrl+L
2.输入reset命令
3.按ctrl+v再按ctrl+o 会出现个^O再按回车
ctrl+v 表示下一输入为特殊字符
ctrl+o 表示^O 切换为原来字符集
参考:
http://www.cyut.edu.tw/~ckhung/b/mi/textmode.php
Posted in linux 维护优化, 技术.
Tagged with 乱码.
By C1G – 2010/08/26
关注互联网、网页设计、Web开发、服务器运维优化、项目管理、网站运营、网站安全…
一 | 二 | 三 | 四 | 五 | 六 | 日 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
Proudly powered by WordPress and Carrington.
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.