CompTIA Linux+: Shell Scripting with Bash

CompTIA    |    Intermediate
  • 16 videos | 1h 49m 18s
  • Includes Assessment
  • Earns a Badge
Rating 4.8 of 10 users Rating 4.8 of 10 users (10)
Linux shell scripts can be used to automate and schedule repetitive tasks. The proper management of scripts involves an understanding of how to work with script components such as variables, parameters, functions, redirection, as well as conditional and looping constructs. In this course, we'll begin with an overview of Linux shell scripting, including covering common commands used in scripting such as tee, awk, sed, grep and egrep. We will then discuss script comparison operators, how to pipe command output to other commands and how to use input and output redirection. Next, we'll cover how to use various conditional statements such as "if", and how to use various looping constructs such as "for" and "while". Then, we'll cover how to manage Linux environment and shell script variables followed by working with array variables. Lastly, we'll create and run Linux shell scripts followed by scheduling and troubleshooting scripts. This course can be used to prepare to the Linux+ XK0-005 certification exam.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Describe how to automate tasks using shell scripts with commands such as tee, awk, sed, find, grep, and egrep
    Describe how to use comparison and redirection operators in a shell script
    Outline how to use looping constructs in a shell script
    View and manage environment and shell script variables, exported variables, and work with script exit codes
    Create and run a simple shell script
    Use an aws systems manager run command to execute a shell script on a virtual machine
    Parameterize a shell script
  • Manage array variables
    Work with shell script functions
    Create and run a shell script that uses the tar command to create a backup archive
    Use cron to run a backup script on a schedule
    Create and run a shell script that uses for looping
    Create and run a shell script that uses while looping
    Debug and solve problems with shell scripts
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 21s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 11m 8s
    After completing this video, you will be able to describe how to automate tasks using shell scripts with commands such as tee, awk, sed, find, grep, and egrep. FREE ACCESS
  • Locked
    3.  Shell Script Comparison, Piping, and Redirection Operators
    7m 54s
    Upon completion of this video, you will be able to describe how to use comparison and redirection operators in a shell script. FREE ACCESS
  • Locked
    4.  Shell Script Looping Constructs
    8m 3s
    After completing this video, you will be able to outline how to use looping constructs in a shell script. FREE ACCESS
  • Locked
    5.  Managing Linux Environment and Shell Script Variables
    8m 6s
    Upon completion of this video, you will be able to view and manage environment and shell script variables, exported variables, and work with script exit codes. FREE ACCESS
  • Locked
    6.  Writing and Running a Simple Shell Script
    6m 58s
    After completing this video, you will be able to create and run a simple shell script . FREE ACCESS
  • Locked
    7.  Deploying a Shell Script to AWS Virtual Machines
    7m 5s
    Upon completion of this video, you will be able to use an AWS Systems Manager run command to execute a shell script on a virtual machine. FREE ACCESS
  • Locked
    8.  Parameterizing Shell Scripts
    8m 22s
    After completing this video, you will be able to parameterize a shell script. FREE ACCESS
  • Locked
    9.  Working With Array Variables
    7m 44s
    Upon completion of this video, you will be able to manage array variables. FREE ACCESS
  • Locked
    10.  Creating a Shell Script Function
    6m 30s
    After completing this video, you will be able to work with shell script functions. FREE ACCESS
  • Locked
    11.  Writing and Running a Backup Shell Script
    8m 34s
    Upon completion of this video, you will be able to create and run a shell script that uses the tar command to create a backup archive. FREE ACCESS
  • Locked
    12.  Scheduling a Backup Shell Script
    6m 26s
    After completing this video, you will be able to use CRON to run a backup script on a schedule. FREE ACCESS
  • Locked
    13.  Writing and Running a "For" Looping Shell Script
    6m 49s
    Upon completion of this video, you will be able to create and run a shell script that uses For looping. FREE ACCESS
  • Locked
    14.  Writing and Running a "While" Looping Shell Script
    6m 3s
    Upon completion of this video, you will be able to create and run a shell script that uses While looping. FREE ACCESS
  • Locked
    15.  Troubleshooting Shell Scripts
    7m 4s
    Upon completion of this video, you will be able to debug and solve problems with shell scripts. FREE ACCESS
  • Locked
    16.  Course Summary
    1m 12s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.4 of 48 users Rating 4.4 of 48 users (48)
Rating 4.4 of 773 users Rating 4.4 of 773 users (773)
Rating 4.5 of 39 users Rating 4.5 of 39 users (39)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 39 users Rating 4.5 of 39 users (39)
Rating 4.5 of 2806 users Rating 4.5 of 2806 users (2806)
Rating 4.4 of 17 users Rating 4.4 of 17 users (17)