Send mail through SMTP using Telnet

Developers in my office constantly complain that the SMTP server is down and no mails are being sent out. We come back saying that their application is buggy. Most often after hours of troubleshooting the problem will turn out to be the application itself. Here’s a simple way to test your SMTP server over port…

Linux Commands: tee

Not many people I know use the tee command but I find it quite useful. I tend to use it quite often in my scripts actually. So what does it do? The tee command has the ability to take the standard input and redirected it to multiple outputs. For example, the ls command would normally…

How to keep your Linux session alive

Recently I wrote about implementing session timeouts on Linux. For admin’s who know what they are doing(most times) this can sometimes be an annoying experience. There’s a simple noop script over at bashcurescancer to help work around session timeouts. This will work for ssh and also the default virtual consoles.     Watch noop in…

How to disable the beep in Windows XP

I am facing the same annoying beep issue which I experienced on my Linux notebook before on my XP machine now. Most users don’ t fancy having sounds turned on their OS. In XP turning off your sound schemes will turn off all notification sounds but then all beeps get channeled to your pc speaker…

How to set default session timeout in Linux

My DC operation guys access Linux servers on a daily basis but somehow they never remember to log out. This is a security risk as anyone could gain access to the open console and create caos. Today, yet again I’m forced to play the bad guy by dummy proofing my Linux servers by implementing default…