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 Programming for Beginners

Video Description

The complete course to master Bash shell scripting for Linux

About This Video

  • Learn how to write well documented, modular, efficient and complex shell scripts, automate daily routines, basic programming concepts such as loops, commands and statements

  • How to effectively write command line processing, process management and even manipulate command-line functions.

  • Shell Scripting course has been specifically designed to teach you how to use BASH to shave hours from your coding practice.

  • In Detail

    Want to feel like an awesome spy hacker similar to the one in the movies that opens a command line terminal and manages to complete complicated tasks using a few simple codes? Well, this can be a reality using BASH.A huge chunk of a programmer’s time is wasted in trying to repeat codes and processes, especially when it comes to working with UNIX or Linux. The constant commands that are required to program or create systems is a tedious and long process.Well, here’s how you can eliminate that and save a whole buncha time – BASHBourne Again Shell, more popularly known as BASH is a UNIX/Linux shell and a command line interpreter that runs commands from a standard input file. This shell comes with a nifty feature that allows you to reduce the amount of commands that you have to call personally by automating them.

    Table of Contents

    1. Chapter 1 : Course Introduction
      1. Introduction 00:03:02
    2. Chapter 2 : Introduction to Bash
      1. Introduction to BASS 00:15:39
      2. The "directory" concept 00:16:59
      3. Running jobs in the background 00:16:56
    3. Chapter 3 : Command Line Tips and Tricks
      1. The interactive mode 00:18:09
      2. The vi editing mode 00:16:40
      3. Using the fc command 00:15:48
    4. Chapter 4 : Customizing your shell
      1. The BASH environment 00:15:05
      2. Shell options 00:14:19
      3. Single and double quotes 00:15:14
      4. The shell prompt variables 00:15:09
      5. The CDPATH variable 00:11:35
    5. Chapter 5 : Understanding Shell Scripts
      1. Shell Programming Essentials 00:15:50
      2. Positional Variables 00:15:47
      3. Manipulating variables in place Part A & Part B 00:22:24
      4. Using patterns in string operations 00:16:27
      5. Assigning command output to variables 00:07:35
    6. Chapter 6 : Condition and Loops
      1. Decision Making 00:18:56
      2. More elegant ways of testing conditions 00:12:50
      3. Testing for integers Part A & Part B 00:21:12
      4. The select statement 00:19:53
    7. Chapter 7 : Command Line Options
      1. Command-line options 00:19:45
      2. More Complex options: the getopts command 00:14:49
      3. LAB: adding more options to highest.st 00:15:21
      4. Increment and decrement operators 00:15:34
      5. The for loop revisited Part A & Part B 00:21:04
    8. Chapter 8 : Bash Input Output
      1. BASH I/O 00:15:55
      2. The echo command 00:16:48
      3. LAB: enhancing the log rotation script 00:18:03
    9. Chapter 9 : Process Management
      1. Process Management 00:16:00
      2. Process signals 00:13:45
      3. Reacting to signals Part A & Part B 00:22:20
    10. Chapter 10 : Bash Administration
      1. BASH Administration 00:13:19
      2. Setting default file permissions Part A 00:10:19
      3. Setting default file permissions Part B 00:13:37
    11. Chapter 11 : Best practices
      1. BASH Best Practices 00:15:40
    12. Chapter 12 : Summary
      1. Summary 00:05:06