in2blues:
Fire up gedit or another editor and add this content:
Code:
#!/bin/bash
var1=$(grep 'Failed password' /var/log/auth.log | tail -3)
zenity --info --text="$var1"
Save it as say ~/knockknock.sh
(The ~ designation is a "alias" for your /home/x directory and means /home/$YourUserName)
Once saved, open Terminal and type
Code:
chmod 700 ~/knockknock.sh
and exit the terminal with Right mouse click on the desktop and create a new launcher and point it at /home/$YourUserName/knockknock.sh for the "Command" entry of the new launcher.
Tada! Icon launcher for the above code that runs in a nice and neat dialog box. (you could even make this autostart, so you'd see it every time you logged in to your machine) 
HTH.
When you're more comfortable with Linux/conky you can add this code to a conky rc:
Code:
${execi 60 //home/$YourUserName/knockknock.sh}
Bookmarks