Learning Linux Shell Scripting
eBook - ePub

Learning Linux Shell Scripting

Leverage the power of shell scripts to solve real-world problems, 2nd Edition

  1. 332 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning Linux Shell Scripting

Leverage the power of shell scripts to solve real-world problems, 2nd Edition

Book details
Table of contents
Citations

About This Book

Break through the practice of writing tedious code with shell scripts

Key Features

  • Learn to impeccably build shell scripts and develop advanced applications
  • Create smart solutions by writing and debugging scripts
  • A step-by-step tutorial to automate routine tasks by developing scripts

Book Description

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.

What you will learn

  • Familiarize yourself with the various text filtering tools available in Linux
  • Understand expressions and variables and how to use them practically
  • Automate decision-making and save a lot of time and effort of revisiting code
  • Get to grips with advanced functionality such as using traps, dialogs to develop screens & Database administration such as MySQL or Oracle
  • Start up a system and customize a Linux system
  • Taking backup of local or remote data or important files.
  • Use existing other language scripts such as Python, Perl & Ruby in Shell Scripts

Who this book is for

Learning Linux Shell Scripting is ideal for those who are proficient at working with Linux and want to learn about shell scripting to improve their efficiency and practical skills.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Learning Linux Shell Scripting by Ganesh Naik in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781788991537
Edition
2

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. Packt Upsell
  5. Contributors
  6. Preface
  7. Getting Started and Working with Shell Scripting
  8. Drilling Deep into Process Management, Job Control, and Automation
  9. Using Text Processing and Filters in Your Scripts
  10. Working with Commands
  11. Exploring Expressions and Variables
  12. Neat Tricks with Shell Scripting
  13. Performing Arithmetic Operations in Shell Scripts
  14. Automating Decision-Making in Scripts
  15. Automating Repetitive Tasks
  16. Working with Functions
  17. Using Advanced Functionality in Scripts
  18. System Startup and Customizing a Linux System
  19. Pattern Matching and Regular Expressions with sed and awk
  20. Taking Backup and Embedding Other Languages in Shell Scripts
  21. Database Administration Using Shell Scripts
  22. Other Books You May Enjoy