Author Archives: bhuvan

Single line to send an alert mail from shell

The power of shell and how simple it is to send a mail when every some one logs in as root to a predefined email. echo ‘ALERT – Root Shell Access (message or DNS) on:’ `date` `who` | mail -s “Alert: Root Access from `who | cut -d”(” -f2 | cut -d”)” -f1`” <email id>

e-Swecha 2014 edition

The 4 day workshop at KG Reddy Enginnering college took me back to early days of swecha when we used to sit for hours together to code, chat, browse, pulling each others leg, cracking jokes and some serious brainstorming, finally building something productive. This workshop or we love to call it as hackathon was productive.… Read More: e-Swecha 2014 edition »