How to Automate tasks in Linux