Course Outline

Introduction

  • Objectives
  • Course Schedule
  • Course Introductions
  • Pre-requisites
  • Bibliography
  • Delegate Responsibilities
  • Course Summary

Review of Basics - Optional

  • Files
  • Directories and Processes
  • Displaying Directories - ls
  • Getting Help - man
  • Displaying Files - cat, more
  • Simple Commands
  • Piping - using | symbol
  • Redirection - using > symbol
  • Appending to a File - using >> symbol
  • Redirecting Input - using < symbol
  • Redirecting Errors
  • Using /dev/null
  • Foreground Jobs
  • Background Jobs - &
  • Stopping Jobs - kill
  • Special Files - . and ..
  • The Command Prompt - PS1
  • Creating Aliases
  • Using Aliases
  • Command History
  • Editing the Command Line - using Arrow Keys
  • Editing the Command Line - using vi
  • Customizing the Shell for government use
  • The Home Directory - HOME
  • The Current Working Directory - pwd
  • Changing Directories - cd
  • Creating a Directory - mkdir
  • Removing a Directory - rmdir
  • Interactive Copy - cp -i
  • Interactive Move - mv -i
  • Interactive Remove - rm -i
  • Removing Directories - rm -r
  • Wild Cards - File Name Generation
  • Word Count - wc
  • Finding Files - find
  • Finding Text in Files - grep, sort, cut, uniq, tr
  • Changing Permissions - chmod

Shell Programming

  • Creating Shell Scripts for government applications
  • Testing the Command
  • Creating the Script File
  • Adding Execute Permissions
  • Testing the Script
  • Running the Script - time
  • Running the Script - dot
  • Running the Script - exec
  • Running the Script - ksh
  • Debugging the Script for government use
  • Passing Parameters
  • The read Command
  • Using read in Scripts for government tasks
  • Choosing the Shell
  • Tidying the Output
  • Suppressing Input - stty

Special Characters and Variables

  • Quotation Marks
  • Quoted Strings - ", '
  • Escape Character - *
  • Quoted Strings - `
  • Using $(...)
  • System Variables - set
  • Other Special Variables for government use
  • User Variables
  • User Variables - unset
  • Variables in Scripts for government operations
  • Typeset Command
  • Integer Variables
  • Special Constructs for government scripts

Creating Menus

  • Conditions - case
  • Creating a Menu for government users
  • Iteration - while, until
  • Holding the Output - sleep
  • Holding the Output - dummy read
  • Ending the Script for government use
  • Ending the Loop
  • Hidden Option - forking a shell
  • Trapping Interrupts - trap
  • More on Interrupts for government scripts
  • Highlighting Text - tput
  • Positioning the Cursor - backtab \b
  • Korn Shell Menu for government use

Selection

  • Conditional Testing for government scripts
  • Testing File Attributes
  • Testing File Permissions
  • Multiple Tests - Nested ifs
  • Multiple Tests - elseif
  • The NOT Condition
  • Multiple Conditions in One Test for government use
  • Testing Strings
  • Using Square Brackets for government scripts
  • Avoiding Null Input
  • Testing Numbers for government operations
  • More on case for government use
  • Displaying Variables for government tasks
  • Placing Spaces in Government Scripts
  • Testing Commands for government applications

Iteration, Looping

  • Computations - let
  • Iteration - while, until
  • Infinite Loop for government use
  • Iteration - for
  • More than 9 Parameters - shift for government scripts

Sub-scripts and Functions

  • Local and Global Variables for government tasks
  • Sub-scripts for government use
  • Export Command for government operations
  • Exit Status for government scripts
  • Aliases for government applications
  • Functions for government use
  • Useful Functions for government tasks
  • Return Status for government scripts
  • Manipulating Functions for government operations
  • Functions in Scripts for government use

Advanced Commands

  • Debugging - set for government scripts
  • Setting - set for government tasks
  • Merging Files - join for government operations
  • Merging Files - paste, basename and dirname for government use
  • Job Control - jobs for government applications
  • Regular Expressions for government scripts
  • Global Regular Expression Printer - grep for government tasks
  • Expression grep - egrep for government operations
  • Fast grep - fgrep for government use
  • Computations - expr for government scripts
  • Computations – bc, eval Command for government tasks
  • Argument Processing for government operations
  • getopts Command for government use
  • Using Arrays for government applications

Advanced Edit – vi & sed

  • vi - Mapping Key Combinations for government tasks
  • Mapping Control Keys for government operations
  • Using Abbreviations for government scripts
  • Editing Many Files for government use
  • Regular Expressions for government applications
  • Global Insert for government tasks
  • Here Document for government operations
  • Batch Stream Editor - sed, sed delete, -d, sed print, -p, sed suppress, -n, sed quit, -q, sed file, -f, sed Multiple Input, sed for government use
  • Find and Replace for government scripts
  • sed Example for government tasks

Text File Processing - awk

  • The awk Programming Tool for government applications
  • Pattern Matching for government tasks
  • Regular Expressions for government operations
  • Comparison Patterns for government use
  • Compound Patterns for government scripts
  • Range Patterns for government tasks
  • Special Patterns for government operations
  • Built-in Functions for government use
  • Troubleshooting awk Scripts for government applications
  • Passing Parameters for government tasks
  • Using Contains for government operations
  • printf Function for government use
  • Computations for government scripts
  • Functions for government tasks
  • substr for government operations
  • length for government use
  • Action Statements for government applications
  • Control Flow Statements for government tasks
  • Arrays for government operations
  • Arrays with for Loops for government use
  • awk Examples for government scripts

Requirements

This course is designed exclusively for individuals who possess a solid working knowledge of UNIX or have completed the Introduction to UNIX training. It is tailored to meet the specific needs and standards required for government use, ensuring that participants are well-prepared to apply their skills in public sector environments.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories