O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Linux Shell Scripting: A Project-Based Approach to Learning

Video Description

Learn how to shell script through project-based training (Bash Scripting, Bash Programming, Grep, Awk, and more)

About This Video

  • Write your very own Linux shell scripts using the concepts you learned in this course.

In Detail

Have you tried to learn shell scripting on your own, but lack the structure you need to really improve your skills? Are you tired of picking up bits and pieces of information that you can't just seem to put together? Do you learn best by doing? If so, you're going to love this course. One of the biggest complaints I hear from students is that most of the courses they've taken in the past simply provide information without any context and without any idea of how to put that information to use! This course turns that old, frustrating, and outdated way of learning on its head. It's project-based, which means that, instead of learning bits and pieces of information, you'll write actual shell scripts that you can use in real-world situations. You get the chance to immediately put what you learn to use so that you fully understand and remember it. If you're ready to level-up your shell scripting skills, enroll now!

Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Chapter 1 : Course Introduction
    1. Introduction and Course Overview 00:01:42
    2. Course Downloads 00:02:31
  2. Chapter 2 : Creating a Local Linux Shell Scripting Environment
    1. Creating a Local Lab Environment Using Vagrant and VirtualBox - Background 00:16:28
    2. Exercise 1 – Walkthrough – Part I – Windows Users Only 00:04:19
    3. Exercise 1 – Walkthrough – Part I – Mac Users Only 00:01:56
    4. Exercise 1 – Walkthrough – Part I – Linux (CentOS/RHEL) Users Only 00:02:53
    5. Exercise 1 – Walkthrough – Part II – All Users 00:22:54
    6. Vagrant and VirtualBox Troubleshooting Tips 00:04:52
  3. Chapter 3 : User and Account Creation - Shell Scripting Project 1
    1. Section Introduction 00:02:47
    2. Getting Started with Shell Scripting: Naming, Permissions, Variables, Builtins. 00:35:03
    3. Special Variables, Pseudocode, Command Substitution, if Statement, Conditionals. 00:23:15
    4. Exit Statuses, Return Codes, String Test Conditionals, More Special Variables. 00:17:39
    5. Reading Standard Input, Creating Accounts, Username Conventions, More Quoting. 00:23:27
    6. Exercise 2 - Walkthrough 00:21:22
  4. Chapter 4 : Password Generation and Shell Script Arguments - Shell Scripting Project 2
    1. Random Data, Cryptographic Hash Functions, Text and String Manipulation. 00:31:02
    2. Positional Parameters, Arguments, for Loops, Special Parameters 00:29:48
    3. The while Loop, Infinite Loops, Shifting, Sleeping 00:16:12
    4. Exercise 3 - Walkthrough 00:20:08
  5. Chapter 5 : Linux Programming Conventions - Shell Scripting Project 3
    1. Advanced Standard Input, Standard Output, and Standard Error - Part I 00:13:26
    2. Advanced Standard Input, Standard Output, and Standard Error - Part II 00:25:46
    3. Exercise 4 - Walkthrough 00:11:57
  6. Chapter 6 : Parsing Command Line Options – Shell Scripting Project 4
    1. Case Statements 00:19:56
    2. Functions 00:33:09
    3. Parsing Command Line Options with getopts, Part 1 00:20:16
    4. Parsing Command Line Options with getopts, Part 2 00:17:34
    5. Deleting and Disabling Linux Accounts, Part 1 of 4 (Finding Files) 00:11:24
    6. Deleting and Disabling Linux Accounts, Part 2 of 4 (The userdel command) 00:05:06
    7. Deleting and Disabling Linux Accounts, Part 3 of 4 (Archives with tar) 00:13:37
    8. Deleting and Disabling Linux Accounts, Part 4 of 4 (Disabling Accounts) 00:08:08
    9. Deleting Users – Exercise 5 – Walkthrough 00:32:48
  7. Chapter 7 : Transforming Data / Data Processing / Reporting – Shell Scripting Project 5
    1. Cut and Awk 00:21:37
    2. Cut and Awk Demonstration Script: Open Network Ports 00:09:43
    3. Sort and Uniq 00:18:05
    4. Parsing Log Files - Exercise 6 - Walkthrough 00:14:33
  8. Chapter 8 : Network Scripting & Automation of Distributed Systems: Shell Scripting Project 6
    1. Configuring a Mini Network and Scripting for Remote Systems 00:30:11
    2. Scripting Remote Commands – Walkthrough – Part 1 00:25:44
    3. Scripting Remote Commands – Walkthrough – Part 2 00:12:38
  9. Chapter 9 : Course Summary
    1. Summary 00:07:47
  10. Chapter 10 : Course Extras
    1. What Shell Scripting Is and Why You Should Learn It 00:09:39