Introduction to Unix / Linux Fundamentals with Shell Scripting

Learn Linux/UNIX and Shell scripting essentials for day to day tasks

TTLX2105

Introductory

5 Days

Course Overview

Introduction to UNIX/Linux Fundamentals with Shell Scripting is a comprehensive, hands on course that provides training on standard UNIX/Linux commands and utilities used for day to day tasks including file manipulation, program execution and control, and effective use of the shell and desktop environments. The course presents the concepts necessary to understand the way UNIX works as well as the system's most commonly used commands. Data manipulation utilities and shell syntax for synthesizing command pipelines are emphasized.

 

Bourne shell, Bash shell and Korn shell programming techniques are introduced so students will be able to read and modify existing shell scripts as well as create their own. Desktop environments are also introduced from a user's perspective, including common window managers, Open Office utilities and an introduction to configuration tools. Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency.

Course Objectives

 

  • Navigating the file system
  • Controlling file access
  • File and directory naming rules and conventions
  • Manipulating files and links
  • Controlling the Terminal
  • Working with vi
  • Monitoring and controlling processes
  • Using command line editing
  • Command substitution, quoting and escaping
  • Using backup commands
  • Submitting and controlling print jobs
  • Communicating over the network
  • Remote access with password authentication
  • Working with secure shells
  • Using GNOME and KDE GUI environments
  • How to write and run shell scripts
  • Using conditional constructs to control script execution
  • Manipulating strings
  • Command-line processing
  • Using regular expressions
  • String processing utilities: sed,grep and awk
  • Counting words, lines and characters
  • Working with compression utilities
  • Writing functions
  • Using the ksh and bash commands
  • Working with UNIX I/O streams

Course Prerequisites

This is an introductory-level course, designed for users who wish to work with Linux and Shell to perform day to day tasks including file manipulation, program execution and control, and effective use of the shell and desktop environments.  Incoming attendees should be technically oriented and comfortable using a system command line.

 

Related Courses | UNIX/Linux Essentials Training Suite

 

  • TTLX2103: Introduction to Linux Basics | Linux Essentials JumpStart – 3 days
  • TTLX2105: Introduction to UNIX/Linux Fundamentals with Shell Scripting – 5 days
  • TTLXSYSADM5: Linux System Administration – 5 days

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most. Topics, agenda and labs are subject to change, and may adjust during live delivery based on audience needs and skill-level.

 

 

  1. Introduction to UNIX
  • Design Philosophy
  • System Components
  • The Shell and Command Entry
  • Documentation

 

  1. Basic User Commands
  • Logging In and Logging Out
  • Command Line Editing
  • Navigating the File System
  • Viewing and Copying Files
  • Controlling the Terminal
  • Sending and Receiving Mail

 

  1. Text Editing
  • Types of Editors
  • From ed to ex to vi
  • Basic Editor Tasks with vi
  • Editing Multiple Files
  • Named Buffers
  • vi Startup File

 

  1. UNIX Processes
  • The UNIX Process Model
  • Process States
  • Monitoring and Controlling Processes

 

  1. The File System
  • File System Organization
  • File Types
  • File and Directory Naming Rules and Conventions
  • Commands for Navigating the File System
  • Introduction to Inodes
  • Ownership, Permissions, and Dates
  • Manipulating Files and Links
  • Manipulating Directories
  • Determining Disk Usage
  • Other File System Utilities

 

  1. Introduction to Shells: sh, bash, and ksh
  • Shell Functions
  • I/O Redirection and Pipes
  • Command Separation and Grouping
  • Background Execution
  • Filename Expansion
  • Shell Variables
  • Command Substitution
  • Quoting and Escaping Metacharacters
  • Bash Shell Features
  • Korn Shell Features
  • Command Execution
  • Startup Files
  • Customizing the User Environment

 

  1. Printing
  • Printing Under AT&T UNIX
  • Printing Under BSD UNIX

 

  1. Multitasking and Batch Processing
  • Multitasking
  • Scheduled Execution Using cron
  • The at and batch Commands

 

  1. Shell Programming
  • Shell Script Features and Capabilities
  • Creating and Running a Script
  • Working With Variables
  • Environment Variables
  • Working With Data Types
  • Formatting
  • Base Conversion
  • Setting Special Attributes
  • Input/Output Techniques
  • Conditional Constructs
  • if/then
  • else/elif
  • Looping Constructs
  • for, while, until
  • Math Operators

 

  1. Advanced Shell Features
  • Manipulating Strings
  • Writing and Calling Functions
  • Controlling Process Priorities
  • Interpreting Command Line Arguments
  • Making Scripts Interactive
  • Special Shell Variables
  • Advanced I/O with Streams
  • Improving Performance of Scripts

 

  1. Text Manipulation Utilities
  • Editing a File from a Script
  • Scripting with ed or sed
  • UNIX and Linux Utilities to Manipulate Files
  • Regular Expressions
  • grep and egrep
  • The Stream Editor sed
  • Sorting in Scripts
  • Generating Reports with awk
  • Splitting Large Files
  • Counting Words, Lines, and Characters
  • Transforming File Contents
  • Extracting Text Strings

 

  1. File Processing Utilities
  • Examining and Comparing Files
  • Reporting Differences Between Files
  • Comparing Files of Any Format
  • Displaying Data in Octal and Hex
  • Compressing Data
  • Converting File Formats

 

  1. Backing Up Files
  • Backup Media
  • UNIX Device Names
  • tar and cpio
  • File Transport and Conversion with dd

 

  1. Networking Commands
  • UNIX Network Applications
  • Remote Execution Commands
  • Remote Activity Reporting
  • Communicating with Remote Users
  • Internet Applications
  • ftp, tftp, telnet
  • Remote Access Control Mechanisms
  • Using the Secure Shell(ssh)

Course Materials

Each student will receive a Student Guide with course notes, code samples, software tutorials, diagrams and related reference materials and links (as applicable). Our courses also include step by step hands-on lab instructions and and solutions, clearly illustrated for users to complete hands-on work in class, and to revisit to review or refresh skills at any time. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Year-End Savings!
Register today to receive *50% off all 2021 Public Classes*!  Check out our Current Offers for Individuals, Teams and Organizations to Learn for Less!

See our latest Offers and Promotions

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More