Course Outline
Introduction
- Course Objectives
- Schedule of Events
- Participant Introductions
- Prerequisite Knowledge
- Reference Materials
- Participant Obligations
- Curriculum Overview
Foundational Concepts - Optional Review
- File Management Fundamentals
- Directory Structures and Process Management
- Directory Listing - ls Command
- Accessing Documentation - man Command
- File Content Display - cat, more Commands
- Basic Command Operations
- Piping Output - | Symbol
- Output Redirection - > Symbol
- Append Redirection - >> Symbol
- Input Redirection - < Symbol
- Error Output Handling
- Utilizing /dev/null for Discarding Output
- Foreground Process Execution
- Background Process Execution - & Symbol
- Process Termination - kill Command
- Special Directory References - . and ..
- Command Prompt Configuration - PS1
- Alias Creation and Management
- Alias Execution
- Command History Navigation
- Command Line Editing - Arrow Keys
- Command Line Editing - vi Mode
- Shell Environment Customization
- Home Directory Configuration - HOME Variable
- Current Working Directory Identification - pwd Command
- Directory Navigation - cd Command
- Directory Creation - mkdir Command
- Directory Removal - rmdir Command
- Interactive File Copying - cp -i Option
- Interactive File Relocation - mv -i Option
- Interactive File Deletion - rm -i Option
- Recursive Directory Removal - rm -r Option
- Filename Generation - Wildcard Characters
- Word and Line Counting - wc Command
- File Search Operations - find Command
- Text Searching and Manipulation - grep, sort, cut, uniq, tr Commands
- Permission Modification - chmod Command
Shell Scripting Fundamentals
- Script Development Procedures
- Command Validation Techniques
- Script File Initialization
- Execution Permission Assignment
- Script Verification Testing
- Execution Timing Analysis - time Command
- Environment Source Execution - Dot Command
- Process Replacement Execution - exec Command
- Shell-Specific Execution - ksh Command
- Script Debugging Methodologies
- Argument Passing Mechanisms
- Input Acquisition - read Command
- Interactive Input Handling in Scripts
- Shell Selection Criteria
- Output Formatting and Alignment
- Input Suppression - stty Command
Special Characters and Variable Management
- Quotation Syntax
- Literal String Definition - ", '
- Escape Sequence Handling - *
- Command Substitution - `
- Modern Command Substitution - $(...)
- System Variable Inspection - set Command
- Environment Variable Management
- User-Defined Variables
- Variable Removal - unset Command
- Variable Scope in Scripts
- Variable Type Definition - Typeset Command
- Integer Arithmetic Variables
- Advanced Variable Constructs
Interactive Menu Development
- Control Structures - case Statement
- Menu Interface Construction
- Loop Control - while, until Statements
- Process Delay Implementation - sleep Command
- Input Hold via Dummy Read
- Script Termination Procedures
- Loop Termination Logic
- Concurrent Execution - Shell Forking
- Signal Handling - trap Command
- Interrupt Management Strategies
- Text Formatting and Highlighting - tput Command
- Cursor Positioning Control - backtab \b
- Korn Shell Menu Implementation
Conditional Logic and Selection
- Conditional Evaluation Frameworks
- File Attribute Validation
- Permission Level Verification
- Complex Conditional Logic - Nested ifs
- Alternative Conditional Branching - elseif
- Negation Operators
- Composite Condition Testing
- String Comparison Operations
- Bracket Notation Usage
- Null Input Prevention
- Numeric Comparison Testing
- Extended Case Statement Applications
- Variable Output Display
- Whitespace Formatting
- Command Execution Testing
Iteration and Loop Structures
- Arithmetic Evaluation - let Command
- Loop Constructs - while, until Statements
- Infinite Loop Implementation
- Iteration Constructs - for Statement
- Parameter Shift Handling - shift Command
Modular Scripting: Sub-scripts and Functions
- Variable Scope: Local versus Global
- Nested Script Execution
- Variable Exportation - Export Command
- Exit Status Interpretation
- Alias Implementation in Functions
- Function Definition and Invocation
- Standard Utility Functions
- Return Value Management
- Function Manipulation Techniques
- Integration of Functions within Scripts
Advanced System Commands
- Debugging Mode Activation - set Command
- Shell Option Configuration - set Command
- File Joining Operations - join Command
- File Merging and Path Manipulation - paste, basename, dirname Commands
- Job State Monitoring - jobs Command
- Regular Expression Fundamentals
- Pattern Searching - grep Command
- Extended Pattern Searching - egrep Command
- Fixed String Searching - fgrep Command
- Arithmetic Evaluation - expr Command
- Mathematical Computations - bc, eval Commands
- Command-Line Argument Parsing
- Option Parsing - getopts Command
- Array Data Structure Implementation
Advanced Text Editing: vi & sed
- vi Key Binding Configuration
- Control Key Mapping
- Abbreviation Expansion
- Multi-File Editing Workflows
- Regular Expression Syntax
- Global Text Insertion
- Here Document Syntax
- Stream Processing - sed Operations: delete (-d), print (-p), suppress (-n), quit (-q), file input (-f), multiple input handling
- Find and Replace Operations
- sed Implementation Examples
Text Processing with awk
- awk Programming Language Overview
- Pattern Matching Techniques
- Regular Expression Application
- Comparison-Based Patterns
- Compound Pattern Logic
- Range-Based Patterns
- Special Pattern Handling
- Built-in Function Library
- awk Script Troubleshooting
- Parameter Passing Mechanisms
- Substring Operations - Contains
- Formatted Output - printf Function
- Arithmetic Operations within awk
- Custom Function Definitions
- String Substitution - substr Function
- String Length Calculation - length Function
- Action Statement Syntax
- Control Flow Statements
- Array Data Structures in awk
- Array Iteration via for Loops
- Practical awk Examples
Requirements
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