E-book details

Learning Linux Shell Scripting. Leverage the power of shell scripts to solve real-world problems - Second Edition

Learning Linux Shell Scripting. Leverage the power of shell scripts to solve real-world problems - Second Edition

Ganesh Sanjiv Naik

Ebook
Linux is the most powerful and universally adopted OS. Shell is a program that gives the user direct interaction with the operating system. Scripts are collections of commands that are stored in a file. The shell reads this file and acts on commands as if they were typed on the keyboard.
Learning Linux Shell Scripting covers Bash, GNU Bourne Again Shell, preparing you to work in the exciting world of Linux shell scripting. CentOS is a popular rpm-based stable and secured Linux distribution. Therefore, we have used CentOS distribution instead of Ubuntu distribution. Linux Shell Scripting is independent of Linux distributions, but we have covered both types of distros. We start with an introduction to the Shell environment and basic commands used. Next, we explore process management in Linux OS, real-world essentials such as debugging and perform Shell arithmetic fluently. You'll then take a step ahead and learn new and advanced topics in Shell scripting, such as decision making, starting up a system, and customizing a Linux environment. You will also learn about grep, stream editor, and AWK, which are very powerful text filters and editors. Finally, you'll get to grips with taking backup, using other language scripts in Shell Scripts as well as automating database administration tasks for MySQL and Oracle.
By the end of this book, you will be able to confidently use your own shell scripts in the real world.
  • 1. Getting Started and Working with Shell Scripting
  • 2. Drilling Deep into Process Management, Job control, and Automation
  • 3. Using Text processing & filters in your scripts
  • 4. Working with Commands
  • 5. Exploring Expressions and Variables
  • 6. Neat Tricks with Shell Scripting
  • 7. Performing Arithmetic Operations in Shell Scripts
  • 8. Automating Decision Making in Scripts
  • 9. Automating Repetitive Tasks
  • 10. Working with Functions
  • 11. Using Advanced Functionality in Scripts
  • 12. System Start-up and Customizing a Linux System
  • 13. Understanding Pattern Matching and Regular Expressions with sed & awk
  • 14. Embedding other languages in Scripts
  • 15. Database administration using Shell Scripts
  • Title: Learning Linux Shell Scripting. Leverage the power of shell scripts to solve real-world problems - Second Edition
  • Author: Ganesh Sanjiv Naik
  • Original title: Learning Linux Shell Scripting. Leverage the power of shell scripts to solve real-world problems - Second Edition
  • ISBN: 9781788991537, 9781788991537
  • Date of issue: 2018-05-21
  • Format: Ebook
  • Item ID: e_38ts
  • Publisher: Packt Publishing