Shell scripting languages offer us a powerful tool to create scripts which automate tasks in a Linux environment. Often, we may want these scripts to trigger automatically when a system event occurs.