title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
Linux Shell Scripting
Course Description
Overview
This Linux Shell Scripting course is designed to provide the skills necessary to automate tasks on a Unix or Linux system. Systems Administrators and Developers alike can avoid errors, save time and money by replacing repetitive work patterns with shell scripts.Care has been taken to present the Linux Shell Scripting in a format that benefits all students, with or without previous programming experience. We believe that the best way to learn shell scripting is writing shell scripts. For this reason, lab time is emphasized. Early labs present the scripting process step by step, while later labs are presented in a challenge format. While official solutions to each lab task are provided, students are encouraged to create their own before examining the solution. In this way, more experienced students are challenged without overwhelming the less experienced.
Courseware supports Red Hat Enterprise Linux 7 and SUSE Linux Enterprise 12.
Objectives
- Describe how scripts work
- Find and create scripting solutions
- Explain basic implementation of scripts and best practices
Audience
- Software Developers
- Mainframe Programmers
Prerequisites
-
Solid understanding of Unix-based systems and proficiency on the Unix or Linux command line
Topics
- Shell Script Strengths and Weaknesses
- Shells
- Switching User Contexts
- Example Shell Script
- Shell and Environment Variables
- Key Environment Variables
- General Quoting Rules
- Nesting Commands
- Help from Commands and Documentation
- Getting Help Within the Graphical Desktop
- Getting Help with man & info
- Lab Tasks
- Shell Variables
- Shell Meta-Characters
- Command Substitution
- Positional Parameters
- Input & Output
- printf
- alias
- Functions
- Colors in Scripts
- Custom Bash Prompts
- Lab Tasks
- Aliases
- Bash Login Scripts
- Create 'userinfo' and 'sysinfo' functions
- Communication Channels
- File Redirection
- Piping Commands Together
- Doing Math
- Filesystem Structures
- Determining Disk Usage With df and du
- cron
- The crontab Command
- crontab Format
- /etc/cron.*/ Directories
- Sending Email with mailx
- Lab Tasks
- Disk and Filesystem Usage
- Connecting Commands
- Searching Inside Files
- Regular Expression Overview
- Regular Expressions
- RE Character Classes
- RE Quantifiers
- RE Parenthesis
- The Streaming Editor
- Lab Tasks
- Pattern Matching with Regular Expressions
- Extended Regular Expressions
- Using Regular Expressions With sed
- Exit Status
- Comparisons with test
- Conditional Statements
- Flow Control: case
- Flow Control: while and until Loops
- The for Loop
- Flow Control: select
- Lab Tasks
- Reporting User Statistics
- Monitoring Filesystem Usage
- Text Processing with Awk
- Text Sorting
- Duplicate Removal Utility
- Extracting Columns of Text
- Lab Tasks
- Create 'rmhost' function
- Create 'showenv' function
- Parsing Mail Server Logs
- Fixing Incorrect Files
- Gotchas: Maximum Command Length
- Gotcha: Whitespace in for Loops
- Reading Files with while
- Gotcha: $IFS
- Gotcha: Printing in .bashrc
- Gotcha: Aliases
- Lab Tasks
- Renaming MP3 Files
- Split and Display $PATH
- A tar-based Backup
- Apache Configuration Files
- httpd.conf – VirtualHost Configuration
- Lab Tasks
- Automated Virtual Host Provisioning
- Emacs
- The Emacs Interface
- Basic Emacs
- More Emacs Commands
- Lab Tasks
- Text Editing with Emacs
- ssh and sshd Configuration
- Accessing Remote Shells
- Transferring Files
- SSH Key Management
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Exam Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.

STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration
Purchase Information
title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.