Have you ever wanted to force a script to act differently when it is invoked by cron? If the script is run interactively, for example, you might want the script to prompt the user for some information ...
This is not entirely unlike what our location-reporting command is doing; it’s just one level simpler. Clearly, other vital information concerning a script can be displayed using a series of echo ...
If you're not yet comfortable with writing scripts on Unix and Linux systems, this post might get you off to a healthy start. Creating a script on a Unix or Linux system can be dead easy or ...