A Complete Course on Linux Bash Shell Scripting with Real-Life Examples

Video description

This course is designed for you if you have experience in Linux and want to develop or enhance your Linux shell scripting skills. Most of the scripts practiced in this training are based on real-life examples. While the hobbyists will find it fun to work through the examples, these are essential skills for aspiring Linux system admins and for experienced Linux engineers; these are skills to be consolidated.

The course starts with introducing you to basic Linux shell scripting. You will then move on to the lab setup required for this course. After that, you will be looking at the basics of shell scripting and scripting standards. Following this, you will look at some basic and real-life scripts. Finally, you will see some additional resources to expedite your understanding.

By the end of this course, you will learn the necessary skills required to automate your repetitive and tedious tasks with the help of shell scripting and programming.

What You Will Learn

  • Understand shell scripting concepts
  • Learn to automate daily system administration tasks
  • Write basic to advance level shell scripts
  • Learn to accept input from a user and make decisions on that input
  • Learn about the script to create system inventory
  • Go through additional resources about Linux shell scripting

Audience

Tis course is for anyone who has a good understanding of Linux or Unix and wants to learn shell scripting, improve their Linux skills, and level up their career in the field of Linux. You’ll also find this course useful if you’re an administrator looking to automate your tedious everyday tasks.

You are expected to have some familiarity with the Linux command line and a desire to learn shell scripting. A knowledge of Linux file editing skills would be good but not mandatory.

About The Author

Imran Afzal: Imran Afzal is a systems engineer/manager, entrepreneur, instructor, and a public speaker. He started his career with Time Warner in 2000 as a systems administrator. He was involved in deploying technologies such as DTV, VOD, CableCards, and others. These technologies were built on many Linux distributions. Since then, he has utilized Linux/Unix skills in many Fortune 500 companies.

He has worn many different hats and currently manages a large team of systems engineers, administrators and team leads globally. He has spearheaded projects such as datacenter migration, introduction, and deployment of VMware, monitoring tools implementation, Amazon cloud migration, and many more. He is certified in Linux Systems Management, UNIX Operating Systems, Linux System Administration, System Internals, VMWare Certified Professional, RHCSA, and Windows Server Certified.

Table of contents

  1. Chapter 1 : Introduction and Course Overview
    1. Introduction
    2. Course Syllabus Overview
  2. Chapter 2 : Set Up the Lab
    1. Welcome to Lab Setup
    2. What is Virtual Box?
    3. Installing Oracle Virtual Box
    4. Creating First Virtual Machine
    5. Linux Installation
  3. Chapter 3 : Shell Scripting Basics
    1. Welcome to Shell Scripting Basics
    2. What is Kernel?
    3. What is a Shell?
    4. What is Shell Scripting
    5. Types of Shells
    6. Starting a Shell
    7. How to Run a Shell Script
  4. Chapter 4 : Scripting Standards
    1. Welcome to Scripting Standards
    2. Scripts Naming Convention
    3. Script File Permissions
    4. Shell Script Format
    5. Sequence of Script Execution
  5. Chapter 5 : Basic Shell Scripting
    1. Welcome to Basic Shell Scripting
    2. Create Your First Script - Hello World
    3. Run Basic Tasks - Script
    4. Run Basic Administration Tasks
    5. Defining Variables
    6. Input/Output Script
    7. Conditions/If Else Statements Scripts
    8. Case Statements Script
    9. For-Loop Script
    10. do-while Scripts
    11. Exit Status
  6. Chapter 6 : Real Life Scripting
    1. Welcome to Real Life Scripting
    2. Accessing Data from a File
    3. Check Remote Servers' Connectivity
    4. Script Scheduling and Notification
    5. Script to Delete Old Files
    6. Backup Filesystem
    7. For-Loops Scripts for Filesystem - 1
    8. For-Loops Scripts for Filesystem - 2
    9. Copy Files to Remote Hosts
    10. User Directory Assignment
    11. List of Users Logged In by Date
    12. Script for Central Logging (rsyslog)
    13. Script for User Account Management
    14. Disable Inactive Users
    15. Check Process Status and Killing it
    16. Disk Space Status
    17. Status on Total Number of Files
    18. Create System Inventory
    19. Scripts with Pre-Defined Information
    20. Getting Online Help
    21. Congratulations
  7. Chapter 7 : Additional Resources
    1. Welcome to Additional Resources
    2. Troubleshoot Putty Connectivity Issues
    3. Important Things to Remember in Linux
    4. Linux File Types
    5. Wild Cards
    6. Soft Links and Hard Links
    7. File Ownership Commands
    8. Tab Completion and Up Arrow Keys
    9. Combing and Splitting Files
    10. Linux File Editor (vi)
    11. "sed" Command
    12. System Utility Commands
    13. System Logs Monitor
    14. Terminal Commands
    15. Aliases
    16. Network Interface Card Port Bonding
    17. File Transfer Commands
    18. What is RAID
    19. Facts About IT
    20. Difference Between CentOS/RedHat 5, 6, and 7
    21. Securing Linux Machine (OS Hardening)
    22. SELinux
    23. NFS Install and Configuration
    24. Linux System Performance Issues
    25. What is Virtualization?
    26. Introduction to VMware

Product information

  • Title: A Complete Course on Linux Bash Shell Scripting with Real-Life Examples
  • Author(s): Imran Afzal
  • Release date: July 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838984083