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.

OR

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

Happy (hidden) coding.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s