Shell Programming Training

Level: Advanced
Rating: 4.8/5 4.85/5 Based on 91 Reviews

In this Shell Programming training course you will learn to customize your working environment for supercharged productivity with KornShell (ksh) and BASH shell (bash) — powerful command-interpreting languages for Linux, UNIX, and Mac OS. You will learn to improve speed by performing multi-file handling and string manipulations without external tools, customize the user environment login scripts, and wrap external file and text handling tools within scripts.Learn Shell programming and gain the skills to write reusable, robust shell scripts, extend your user environment, and automate complex administrative tasks.

Key Features of this Shell Programming Training

  • After-course instructor coaching benefit
  • Learning Tree end-of-course exam included
  • After-course computing sandbox included

You Will Learn How To

  • Write Bash and KornShell scripts for improved productivity
  • Integrate arrays, functions, pattern matching, I/O, branches, loops, and variables
  • Improve speed with multifile handling and string manipulations
  • Create and reuse function libraries

Certifications/Credits:

CPE 17 Credits

Choose the Training Solution That Best Fits Your Individual Needs or Organizational Goals

LIVE, INSTRUCTOR-LED

In Class & Live, Online Training

  • 3-day instructor-led training course
  • After-course instructor coaching benefit
  • Learning Tree end-of-course exam included
  • Earn 17 NASBA credits (live, in-class training only)
View Course Details & Schedule

Standard $2650

Government $2355

RESERVE SEAT

PRODUCT #434

TRAINING AT YOUR SITE

Team Training

  • Bring this or any training to your organization
  • Full - scale program development
  • Delivered when, where, and how you want it
  • Blended learning models
  • Tailored content
  • Expert team coaching

Customize Your Team Training Experience

CONTACT US

Save More On Training with FlexVouchers – A Unique Training Savings Account

Our FlexVouchers help you lock in your training budgets without having to commit to a traditional 1 voucher = 1 course classroom-only attendance. FlexVouchers expand your purchasing power to modern blended solutions and services that are completely customizable. For details, please call 888-843-8733 or chat live.

In Class & Live, Online Training

Time Zone Legend:
Eastern Time Zone Central Time Zone
Mountain Time Zone Pacific Time Zone

Note: This course runs for 3 Days

  • Dec 18 - 20 9:00 AM - 4:30 PM EST Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

  • Feb 19 - 21 9:00 AM - 4:30 PM EST New York / Online (AnyWare) New York / Online (AnyWare) Reserve Your Seat

Guaranteed to Run

When you see the "Guaranteed to Run" icon next to a course event, you can rest assured that your course event — date, time, location — will run. Guaranteed.

Shell Programming Course Information

  • Recommended Experience

    • User-level UNIX commands
    • Simple file editing with basic text, or GUI-based, editor
    • X Window System and basic UNIX networking
  • Software

    • This course uses Red Hat Enterprise Linux
    • Concepts taught are applicable to all Linux distributions

Shell Programming Course Outline

  • Introduction and Overview

    • Benefits of KornShell and Bash vs. other shells
    • Differences between bash, ksh88 and ksh93
    • Integrating scripts with external command-line tools
  • Bash and KornShell Scripting Fundamentals

    Shell script elements

    • Commands and comments
    • Defining exit values

    Conditional program execution

    • Applying if and case statements
    • Simplifying if logic with elif

    Program loops and iteration

    • Conditional looping with while and until
    • Listing for loops

    Testing files and directories

    • Analyzing attributes
    • Checking file size and contents

    Strings and patterns using [[ ]]

    • Comparing strings
    • Verifying the existence of a string
    • Pattern matching and special characters

    Debugging

    • Redirecting standard error
    • set commands for debugging
  • Storing and Accessing Data

    Positional parameters

    • Passing and accessing parameters
    • Manipulating parameters as groups

    Shell variables

    • Defining environment and local variables
    • Specifying default values and error conditions

    Arrays

    • Creating and indexing arrays
    • Processing array contents with special variables
  • Processing Data

    Manipulating strings

    • Extracting substrings
    • Determining string length

    Mathematics

    • Arithmetic for and while loops
    • Writing mathematical expressions: (( )), $(( )) and let
  • Modular Programming with Functions

    Function basics

    • Functions vs. scripts
    • Parameters and variables

    Creating a function library

    • Finding your library with PATH
    • Dot . and source commands
  • Interacting with the Outside World

    Manipulating files and redirecting data

    • Scripting file and directory management
    • Unraveling the secrets of exec: opening and closing multiple files

    Interacting with running processes

    • Handling errors
    • Processing external events
    • Handling and sending signals: trap and kill

    Accessing network servers

    • Connecting to a network server
    • Exchanging data with a network server
  • Creating "Production Quality" Scripts

    Ensuring environmental control

    • Checking and modifying environment variables
    • Using getopts to process command-line options

    Handling user actions

    • Accepting command-line arguments
    • Employing select to create a menu interface
    • Processing keyboard input

Team Training

Shell Programming Training FAQs

  • Is Shell script a programming language?

    Yes, shell scripts are computer programs run by the Unix shell, which is a command line interpreter. The dialects of shell scripts are scripting languages, and typical operations include file manipulation, program execution, and text printing.

  • What software version is used on this Shell Programming course?

    This course uses a Red Hat Enterprise Linux distribution, however, the concepts covered are applicable to all Linux distributions.

  • I use a different Linux or UNIX distribution, is this Shell Programming course still appropriate for me?

    Yes, the concepts covered in this course are applicable to all Linux distributions.

  • Can I learn Shell Programming online?

    Yes! We know your busy work schedule may prevent you from getting to one of our classrooms which is why we offer convenient online training to meet your needs wherever you want, including online training.

Questions about which training is right for you?

call 888-843-8733
chat Live Chat




100% Satisfaction Guaranteed

Your Training Comes with a 100% Satisfaction Guarantee!*

  • If you are not 100 % satisfied, you pay no tuition!
  • No advance payment required for most products.
  • Tuition can be paid later by invoice - OR - at the time of checkout by credit card.

*Partner-delivered courses may have different terms that apply. Ask for details.

Herndon, VA / Online (AnyWare)
New York / Online (AnyWare)
Preferred method of contact:
Chat Now

Please Choose a Language

Canada - English

Canada - Français