Technology Insights

Install Clear On Windows Using Cygwin, Use Clear To Reset Console Output

When I SSH to Linux servers I use the clear command a lot. This allows me to quickly reset the shell interface so there is no output so depending on if I have typed the incorrect command numerous times or the screen is filled without from something like the locate command I find it really useful to reset the interface so the screen is blank again without having to hit enter 50 times. On all of my Windows machines I have Cygwin installed to provide as much of a Linux feel as possible however I never have taken the time to figure out what installs the clear command so I could have the same luxury of clearing the windows Command Prompt or the Console2 application I use on a regular basis. Below I describe how to install clear on Windows using the Cygwin application.