Table of Contents What and Why of Scripting with BASH Creating Interactive Scripts Conditions attached Creating Code Snippets Alternative syntax Iterating with Loops Creating Building Blocks with Functions Introducing sed Automating Apache Virtual Hosts AWK Fundamentals Regular expressions Summarizing Logs with awk A Better lastlog with Awk Using Python as a BASH Scripting Alternative
Mokhtar Ebrahim started working as a Linux system administrator in 2010. He is responsible for maintaining, securing, and troubleshooting Linux servers for multiple clients around the world. He loves writing shell and Python scripts to automate his work. He writes technical articles on the Like Geeks website about Linux, Python, web development, and server administration. He is a father to a beautiful girl and a husband to a faithful wife. Andrew Mallett is the owner of The Urban Penguin, and he is a comprehensive provider of professional Linux software development, training, and services. Having always been a command-line fan, he feels that so much time can be saved through knowing command-line shortcuts and scripting. TheUrbanPenguin YouTube channel, maintained by Andrew, has well over 800 videos to support this, and he has authored four other Packt titles.