Unleash the power of shell scripts to solve real-world problems by breaking through the practice of writing tedious code
About This Book
- Learn how to efficiently and effectively build shell scripts and develop advanced applications with this handy book
- Develop high quality and efficient solutions by writing professional and real-world scripts, and debug scripts by checking and shell tracing
- A step-by-step tutorial to automate routine tasks by developing scripts from a basic level to very advanced functionality
Who This Book Is For
This book is ideal for those who are proficient at working with Linux and who want to learn about shell scripting to improve their efficiency and practical skills. By the end of this book, you will be able to confidently use your own Shell scripts in the real world.
What You Will Learn
- Familiarize yourself with the various text filtering tools available in Linux
- Combine the fundamental text and file processing commands to process data and automate repetitive tasks
- Understand expressions and variables and how to use them practically
- Automate decision-making and save a lot of time and effort spent revisiting code
- Get to grips with advanced functionality, such as using traps and signals, and using dialogs to develop screens
- Start up a system and customize a Linux system
- Take an in-depth look at regular expressions and pattern matching to understand the capabilities of scripting
In Detail
Shell scripting is used to automate day-to-day administration and for testing or product development tasks.
This book covers Bash (GNU Bourne-again shell) preparing you for the exciting world of Linux Shell scripting.
Firstly, we introduce you to the shell environment and explain its basic commands. Next we move on to checking, killing, and controlling the execution of processes in Linux OS. After this, we teach you about the filter tools available in Linux and explain standard output and standard error devices.
Next, you'll get to grips with some real-world essentials, such as debugging and performing shell arithmetic fluently. Then you'll take the next step and learn advanced topics in Shell scripting, such as starting up a system and customizing a Linux system.
Finally, you'll get to know the capabilities of scripting and learn about Grep, stream editor, and Awk.
Style and approach
This practical book will go from the very basics of shell scripting to complex, customized automation. The idea behind this book is to be as practical as possible and give you the look and feel of what real-world scripting is like.