我安装了Cygwin,选择了一套相当少的软件包.
在一个终端,我试图"清除"清除终端,但我得到了
bash: clear: command not found
Run Code Online (Sandbox Code Playgroud)
我如何让它工作?
当PHP脚本从命令行(windows)运行时,如何从脚本中清除控制台屏幕.
例如 :
while(true){
// sleep for 10 seconds , then clear the console
sleep(10);
// below command execute to clear the console windows
**COMMAND**
}
Run Code Online (Sandbox Code Playgroud)