Over 110 practical recipes to solve real-world shell problems, guaranteed to make you wonder how you ever lived without them
The shell remains one of the most powerful tools on a computer system — yet a large number of users are unaware of how much one can accomplish with it. Using a combination of simple commands, we will see how to solve complex problems in day-to-day computer usage.
This book covers the following exciting features:
Develop scripts using the shell to automate chores
Customize the shell to interact with the user in a more interactive manner
Manage files and text processing automatically
Schedule and run jobs automatically, including downloading and processing files
Understand and run basic and advanced shell scripts
Create complex scripts that take advantage of the shell’s capabilities
If you feel this book is for you, get your copy today!
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
#!/bin/bash
echo "Hello, World!"
Following is what you need for this book:
If you are a beginner who wants to learn how to automate simple to complex tasks using the shell, this book is for you. You can start writing scripts and one-liners by simply looking at the similar recipe and its descriptions without any working knowledge of shell scripting or Linux. Intermediate users can use this book to tackle more advanced tasks in shell scripting, and to become experts in shell scripting.
With the following software and hardware list you can run all code files present in the book (Chapter 1-12).
| Chapter | Software required | OS required |
|---|---|---|
| 1-12 | Bash | Linux (Any) |
| 1-12 | ShellCheck | Linux (Any) |
| 1-12 | Vim | Linux (Any) |
| 1-12 | Git | Linux (Any) |
| 1-12 | Docker | Linux (Any) |
| 1-12 | jq | Linux (Any) |
| 1-12 | curl | Linux (Any) |
| 1-12 | wget | Linux (Any) |
| 1-12 | sed | Linux (Any) |
| 1-12 | awk | Linux (Any) |
| 1-12 | grep | Linux (Any) |
| 1-12 | find | Linux (Any) |
| 1-12 | xargs | Linux (Any) |
| 1-12 | sort | Linux (Any) |
| 1-12 | uniq | Linux (Any) |
Clif Flynt is a professional software developer with more than 30 years of experience. He has written several books on Tcl/Tk and regularly gives talks at conferences. He has been a Linux user for more than 20 years and has written several books on shell scripting. He has also written a book on the Vim editor. He has been a contributor to Linux Journal and SysAdmin magazine. He has also written several articles for IBM DeveloperWorks.
JP Vossen is a Linux Engineer and has been working with Unix and Linux for over 20 years. He has been a Linux user and a fan of open source software since the mid-1990s. He has been a contributor to SysAdmin magazine and has written several articles for IBM DeveloperWorks. He has also written a book on Linux system administration. He has been a speaker at several conferences, including LISA and the Southern California Linux Expo (SCALE).
David Johnson is a professional software developer with more than 20 years of experience. He has been a Linux user for more than 20 years and has written several books on shell scripting. He has also written a book on the Vim editor. He has been a contributor to Linux Journal and SysAdmin magazine. He has also written several articles for IBM DeveloperWorks.
Shantanu Tushar
Shantanu Tushar is a software developer, author, and tech blogger. He has been developing software for well over a decade. He has worked with a number of technologies and programming languages, including but not limited to Python, Java, JavaScript, and C. He has also worked with a number of web frameworks, such as Django, Flask, and AngularJS. He has authored a number of books on Python, Django, and JavaScript. He has also written a number of articles on software development and software-related technologies. He has also been a technical reviewer for a number of books on Python, Django, and JavaScript.