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.
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.