Below are the required steps to enable the SSH Notification email at the server side: 1. Login to the shell prompt of your server 2. Edit the fine “/root/.bashrc” using any editor like vi 3. Add the below contentts to end of /root/.bashrc echo ‘ALERT – Root shell Access on:” `date` `who` |mail -s “Alert: […]
See MoreTag: Vi
vi and vim cheat sheet for Linux
Cursor movement : h – move left j – move down k – move up l – move right w – jump by start of words (punctuation considered words) W – jump by words (spaces separate words) e – jump to end of words (punctuation considered words) E – jump to end of words (no […]
See More