在windows下安装了cygwin后,没有clear命令,一般有如下向种处理方法:
1. bash script处理:echo -e "\E[2J"^C
2. ctrl + L
3. 在cygwind中install ncurses (in Utils) and then you can use: clear
解决Windows下Cygwin中缺失clear命令的问题
本文提供了解决在Windows环境下使用Cygwin时遇到的clear命令不可用的问题的三种方法:bashscript处理、使用组合键Ctrl+L、以及在Cygwin中安装ncurses并使用clear命令。通过这些解决方案,可以有效解决命令行界面的清理问题。
在windows下安装了cygwin后,没有clear命令,一般有如下向种处理方法:
1. bash script处理:echo -e "\E[2J"^C
2. ctrl + L
3. 在cygwind中install ncurses (in Utils) and then you can use: clear
112

被折叠的 条评论
为什么被折叠?