Master the complexities of Bash shell scripting and unlock the power of shell for your enterpriseKey FeaturesIdentify high-level steps such as verifying user inputUse the command line and conditional statements for creating and executing simple shell scriptsCreate and edit dynamic shell scripts to manage complex and repetitive tasksBook DescriptionMastering shell scripting is made easy with this book that guides you through everything, right from using the Linux command line through to creating Bash scripts, while also helping you make informed choices about the elements you employ.You can use your favorite editor and start writing Bash scripts in a step-by-step manner. The book will also help you get to grips with the fundamentals of creating and running a script in normal mode, as well as in debug mode. You'll explore code snippets from various conditional statements, and realize the power of repetition and loops in your shell script. You will gradually learn to write complex shell scripts, before delving into file system administration, directories, and system administration such as networking, process management, user authentication, package installation, and regular expressions. Toward the concluding chapters, you will learn how to use Python as an alternative for Bash scripting.By the end of this book, you will be well-versed with shell scripts and have mastered the technique of automating and communicating with your system through keyboard expressions.What you will learnDevelop, execute, and debug your first Bash scriptCreate interactive scripts that prompt for user inputBuild menu structures for operators with little command-line experienceDevelop scripts that dynamically edit web configuration files to produce a new virtual hostWrite scripts that use AWK to search log files and generate reportsDraft effective scripts using functions as building blocks, reducing maintenance and build timeCompare different script languages such as Python with BashUse the command line to bypass the graphical user interface (GUI) and automate common tasksWho This Book Is ForIf you are a Linux administrator or a system administrator and are interested in automating daily tasks to save time and effort, then this book is for you. Basic shell scripting and command-line experience will be required. Familiarity with the tasks you need to automate will also be helpful.Table of ContentsWhat and Why of Scripting with BASHCreating Interactive ScriptsConditions attachedCreating Code SnippetsAlternative syntaxIterating with LoopsCreating Building Blocks with FunctionsIntroducing sedAutomating Apache Virtual HostsAWK FundamentalsRegular expressionsSummarizing Logs with awkA Better lastlog with AwkUsing Python as a BASH Scripting Alternative
✔ Author(s): Mokhtar Ebrahim,Andrew Mallett
✔ Title: Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, 2nd Edition
✔ Rating : 4.4 out of 5 base on (120 reviews)
✔ ISBN-10: 1788990552
✔ Language: English
✔ Format ebook: PDF, EPUB, Kindle, Audio, HTML and MOBI
✔ Device compatibles: Android, iOS, PC and Amazon Kindle
Readers' opinions about Mastering Linux Shell Scripting by Mokhtar Ebrahim
Sara Poole
Experience the inspiring journey of an individual overcoming incredible odds in this powerful memoir. The author's candid and heartfelt writing brings their story to life. Each chapter reveals the resilience and strength of the human spirit. The narrative is both informative and deeply moving, offering valuable life lessons. It's a story that motivates and inspires, making it a must-read. Perfect for those seeking inspiration and personal growth.
Breonna Rahman
Discover the magic of first love and self-discovery in this enchanting coming-of-age story. The author's lyrical prose and relatable characters create a heartwarming narrative. Each chapter explores the joys and challenges of growing up with sensitivity and insight. The emotional journey is both poignant and uplifting. It's a story that resonates with readers of all ages. Ideal for fans of young adult fiction.
Alicia Lawrence
Explore the impact of technology on society in this thought-provoking novel. The author's insightful writing and compelling characters create a narrative that challenges your perceptions. Each chapter delves into the complexities of modern life with depth and nuance. The plot's twists and turns keep you engaged throughout. It's a story that prompts deep reflection on the role of technology in our lives. Perfect for readers interested in contemporary issues.
The Board and the CEO: Seven practices to protect your organization’s most important relationship, This Country: Searching for Home in (Very) Rural America, The Happiness Hypothesis: Ten Ways to Find Happiness and Meaning in Life, Princeton Review AP Chemistry Prep, 2021: 4 Practice Tests + Complete Content Review + Strategies & Techniques (2021) (College Test Preparation), KETO DIET COOKBOOK FOR WOMEN AFTER 50: The Most Complete Ketogenic Diet Manual Reboot Your Metabolism And Boost Your Energy With 200 Affordable And Easy Recipes And A 21-Day Meal Plan, The Cut Out And Collage Book Ransom Note Letters: For Cut & Paste Journaling, Collage, Mixed Media & Creative Soul Searching (Cut and Collage Books), The XXL Cocktail Recipe Book: Classic and Modern Cocktail Recipes for Everyday Enjoyment incl. Whiskey, Gin, Vodka, Non-Alcoholic & More, Black Hills Blood Hunt (A Hunter Buchanon-Frank Morgan Western), Bigfoot: A Fifty-Year Journey Come Full Circle, Designing 3D Printers: Essential Knowledge,