Add uptime and/or a daily fortune to your email signature

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
Add uptime and/or a daily fortune to your email signature


Today's Linux article has two purposes: 1) To add a little spice to your boring old email signature, and to help you understand a bit about bash scripting. The goal is to be able to create a pseudo-dynamic email signature that adds the uptime of your Linux box and/or the output of the fortune command. With this you can get creative and make your email signature as unique as you like.
In order for the bash script we will create to work, a single application will have to be installed and the users' crontab will have to be edited. These are simple tasks and the end result is sure to raise your “geek cred”. No, this will not make your systems run more efficiently, your code compile perfectly, or your breath smell deliciously. But hopefully you will learn something and impress your friends and family with your trickery.
 
Oh great this should help people work out the patch state of that box...
 
Status
Not open for further replies.
Back
Top Bottom