Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, (2nd Edition)

Mastering Linux Shell Scripting: A practical guide to Linux command-line, Bash scripting, and Shell programming, (2nd Edition)

AUTHOR: Mokhtar Ebrahim; Andrew Mallett

PUBLISHER: Packt

PAGES: 284

ISBN-10: 1788990552; ISBN-13: 978-1788990554

Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise

Key Features
* Identify high-level steps such as verifying user input
* Using the command line and conditional statements in creating/executing simple shell scripts
* Create and edit dynamic shell scripts to manage complex and repetitive tasks
* Leverage the command-line to bypass GUI and automate common tasks

Book Description
In this book, you'll discover everything you need to know to master shell scripting and make informed choices about the elements you employ.

Grab your favorite editor and start writing your best Bash scripts step by step. Get to grips with the fundamentals of creating and running a script in normal mode, and in debug mode. Learn about various conditional statements' code snippets, and realize the power of repetition and loops in your shell script. You will also learn to write complex shell scripts. This book will also deep dive into file system administration, directories, and system administration like networking, process management, user authentications, and package installation and regular expressions. Towards the end of the book, you will learn how to use Python as a BASH Scripting alternative.

By the end of this book, you will know shell scripts at the snap of your fingers and will be able to automate and communicate with your system with keyboard expressions.

What you will learn
* Make, execute, and debug your first Bash script
* Create interactive scripts that prompt for user input
* Foster menu structures for operators with little command-line experience
* Develop scripts that dynamically edit web configuration files to produce a new virtual host
* Write scripts that use AWK to search and reports on log files
* Draft effective scripts using functions as building blocks, reducing maintenance and build time
* Make informed choices by comparing different script languages such as Python with BASH

Who This Book Is For
If you are a Linux administrator or a system administrator and are interested in automating tasks in your daily lives, saving time and effort, this book is for you. Basic shell scripting and command-line experience will be required. Familiarity with the tasks you need to automate will be helpful.

About the Author
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.

Disclaimer

Programming books display here are property of respective owners. All information about the book published in this website is in good faith and for general information purpose only.

Please support author by buying hardcopy to the nearest book store in your place or order books in publisher websites.

HRMS & Payroll Web Application

Employee Loan Data Entry and Automate to Payroll Deduction

Most companies provide employee's loans for SSS and Pagibig member, Bank loan, Company salary loan or cash advance etc. Pinoy Web Application create a flexible loan data entry module that can connect to payroll process to deduct automatic to their salary for every pay period, until the loan is zero balance. read more »

Web Application Administrative Tools

Users who allowed to maintain table lookup like branch, project, banks, designation, department, special holidays, regular holiday, loan code, loan type, allowance etc. Those table are used on dropdown selection for data entry form in personal details, job information and allowances. read more »

Online Filing of Overtime

Online Overtime module allows employee to enter the overtime worked on particular days and request authorization must be applied on their respective login account available for every employee's dashboard. read more »

Online Leave Management

Online leave management using Pinoy Web Application is the simple way to file a leave of absence with pay. By automating leave approval process can eliminate unexcused absences without filling of leave. Employee self-service dashboard account have an easy interface to apply and view leave request status. The online staff leave planner allows administrators to set up employee information and leave types and policies easily. read more »

Web Application Payroll Register

Pinoy web application payroll register is a data process that all lists of total information for every pay period upon approved by payroll approver before saving to the payroll register like total gross pay, total overtime, total allowances, total of each type of deduction, and total net pay. The computation for each individual employee like gross pay, net pay, withholding tax, overtime pay and other deduction amount seen in payslip report are stored in database table payroll register. read more »