I want to clearscreen from bash in a cygwin terminal. I have tried
cmd /c cls
echo -e \"^V^L\"
echo -e \"\\014\"
None of these work - they all
Using shortcuts (for mitty
console users)
Alt+F8
to clear screen and Ctrl-L
to skip page
Using sh bash
adding a command
If you use console2
or same consoles, you can add this sh code
as without extension this location : ..\cygwin64\bin\
cls
and /or clear
(without extension)
#!/bin/sh
printf "\033c"
Then you can use cls
and|or clear
in cygwin command.