Course Outline
Introduction
- Course Objectives
- Instructional Schedule
- Session Overviews
- Prerequisites
- Reference Materials
- Participant Responsibilities
- Course Overview
Foundational Review - Optional
- File Management
- Directory Structures and Processes
- List Directory Contents - ls
- Access Manual Pages - man
- View File Contents - cat, more
- Basic Utility Commands
- Stream Piping - using the | operator
- Output Redirection - using the > operator
- Append Redirection - using the >> operator
- Input Redirection - using the < operator
- Error Stream Redirection
- Null Device Usage - /dev/null
- Foreground Process Management
- Background Process Execution - &
- Process Termination - kill
- Special Directory Entries - . and ..
- Command Prompt Configuration - PS1
- Alias Creation
- Alias Implementation
- Command History Management
- Command Line Editing - Arrow Key Navigation
- Command Line Editing - vi Interface
- Shell Environment Customization
- Home Directory Configuration - HOME
- Current Working Directory - pwd
- Directory Navigation - cd
- Create Directory - mkdir
- Remove Directory - rmdir
- Interactive Copy Operations - cp -i
- Interactive Move Operations - mv -i
- Interactive Deletion - rm -i
- Recursive Directory Removal - rm -r
- Wildcard Patterns - Filename Generation
- Line and Word Counting - wc
- File Search Utilities - find
- Text Search and Processing - grep, sort, cut, uniq, tr
- Permission Management - chmod
Shell Scripting Development
- Script Creation Procedures
- Command Verification
- Script File Establishment
- Executability Configuration
- Script Validation
- Script Execution - time Utility
- Script Execution - dot Sourcing
- Script Execution - exec System Call
- Script Execution - ksh Interpreter
- Script Troubleshooting
- Parameter Passing Mechanisms
- Input Reading - read Command
- Input Handling in Scripts
- Shell Selection Criteria
- Output Formatting Standards
- Input Suppression - stty Utility
Special Characters and Variable Management
- Quotation Syntax
- String Quoting - Double and Single Quotes
- Escape Sequences - Backslash
- Command Substitution - Backticks
- Command Substitution - $() Syntax
- System Environment Variables - set
- Reserved Shell Variables
- User-Defined Variables
- Variable Removal - unset
- Variable Scope in Scripts
- Variable Declaration - typeset
- Integer Arithmetic Variables
- Advanced Variable Constructs
Menu Interface Development
- Conditional Logic - case Statements
- Menu Construction
- Looping Structures - while and until
- Output Delays - sleep Command
- Output Pausing - Dummy Read
- Script Termination Protocols
- Loop Exit Conditions
- Hidden Functionality - Shell Forking
- Signal Handling - trap Command
- Advanced Interrupt Management
- Text Formatting - tput Utility
- Cursor Positioning - Backspace \b
- Korn Shell Menu Implementation
Conditional Selection Logic
- Conditional Evaluation
- File Attribute Testing
- File Permission Verification
- Complex Conditions - Nested Structures
- Multi-Branch Conditions - elseif
- Negation Logic - NOT Operator
- Compound Conditional Tests
- String Comparison Methods
- Test Command Syntax - Square Brackets
- Null Input Prevention
- Numeric Comparison Logic
- Advanced case Statement Usage
- Variable Display Techniques
- Whitespace Handling
- Command Status Testing
Iteration and Looping Mechanisms
- Arithmetic Operations - let
- Conditional Loops - while and until
- Unbounded Loop Construction
- Count-Based Loops - for
- Excess Parameter Management - shift
Sub-scripts and Function Definitions
- Variable Scope - Local vs. Global
- Sub-script Execution
- Variable Export - export
- Process Exit Status
- Command Aliasing
- Function Definition
- Standard Utility Functions
- Function Return Status
- Function Modification and Control
- Function Integration in Scripts
Advanced Command Utilities
- Diagnostic Settings - set
- Environment Configuration - set
- Data Merging - join
- Data Alignment - paste, basename, dirname
- Job Management - jobs
- Pattern Matching Syntax
- Text Search - grep
- Extended Regex Search - egrep
- Fixed-String Search - fgrep
- Arithmetic Evaluation - expr
- Calculator and Evaluation - bc, eval
- Argument Parsing
- Option Processing - getopts
- Array Data Structures
Advanced Editing - vi and sed
- vi Key Mapping
- Control Key Assignment
- Abbreviation Management
- Batch File Editing
- Regular Expression Application
- Global Text Insertion
- Here Documents
- Stream Editor - sed, delete (-d), print (-p), suppress (-n), quit (-q), file (-f), multiple input, sed
- Search and Replace Operations
- sed Implementation Example
Text File Processing - awk
- awk Programming Environment
- Pattern Identification
- Regex Integration
- Comparative Patterns
- Composite Patterns
- Range-Based Patterns
- Specialized Pattern Types
- Native Function Library
- awk Script Debugging
- Parameter Transmission
- Substring Matching - contains
- Formatted Output - printf
- Mathematical Calculations
- Custom Function Development
- Substring Extraction - substr
- Length Measurement - length
- Action Clause Execution
- Control Flow Management
- Array Structures
- Array Iteration - for Loops
- awk Use Cases
Requirements
This course is intended for personnel with a solid working knowledge of UNIX systems or those who have completed the Introduction to UNIX curriculum.
Testimonials (7)
the additional course material is great, and can be used later on; the trainer was engaging throughout sessions, maintained a great energy, helped us a lot in the exercises and was patient, encourage us to keep practicing, shared real productive examples where we would need the samples that were shared during the training hours.
Ionelia
Course - Shell Scripting UNIX/Linux
learning bash
ALIN CRISTIAN
Course - Shell Scripting UNIX/Linux
bash scripting - practice exercises
Ionut D
Course - Shell Scripting UNIX/Linux
Large reach on bash subject.
Catalin Opris
Course - Shell Scripting UNIX/Linux
I liked that we practiced a lot of theory, which is the perfect way to learn new things.
Roxana
Course - Shell Scripting UNIX/Linux
I liked that the trainer adapted to each person and made analogies with real situations
AnaMaria
Course - Shell Scripting UNIX/Linux
Practical approach