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.

Technology Insights

Clear Out Postfix Queue, Analyze Postfix Email Queue

Earlier today we had a minor issue on a development server that generated around 175,000 emails dumped into a Postfix queue in a short amount of time. I needed to first analyze the emails and second clear the Postfix queue. Below is information on how to learn more about the emails in the Postfix queue, what domain they are being sent to, and last but not least delete those emails from the queue if they are not needed.

Technology Insights

Windows XP: Clear Windows Update Cache, Purge Windows Updates Cache

A customer laptops in my friends computer shop had some major issues today. One of the major issues on this Windows XP laptop was the fact that Service Pack 3 would not install so after fixing various other things I figured it would be best to clear the Windows Updates cache and then attempt to install the patches including SP3 again. Below is information on stopping the Windows Updates service,  purging the Windows Updates cache, and then restarting the Windows Updates service.