Handy Cygwin Shortcut — clear the screen

If you ever wondered how can you clear your screen fast in Cygwin (under Windows) for example to hide from your boss what you are doing at your working hours (playing with your pet-project instead of your tasks) here is the solution:

  • Install the ncurses package and then you can execute tput clear. This gives you the clear command known from Unix-like systems.


  • Press CTRL+L. Same result — faster, you do not need to install anything and it comes always handy.

Happy (hidden) coding.