Bash Programming
Course
Inhouse
Description
-
Type
Course
-
Methodology
Inhouse
-
Start date
Different dates available
Students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the bash shell.
Facilities
Location
Start date
Start date
About this course
Linux or UNIX users, programmers, and system administrators.
Fundamentals of UNIX or Fundamentals of Linux.
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 6 years
Subjects
- Programming
Course programme
#text-block-10 { margin-bottom:0px; text-align:left; }
1. Course Introduction
Course Objectives Course Overview
Using the Workbook
Suggested References and Reading
2. UNIX Processes
What is a Process? Process Structure The ps Utility
Options to the ps Utility
Background Commands (&) Killing Background Processes Redirecting the Standard Error
3. Getting Started
What is a Shell? Running Scripts
Specifying the Script’s Interpreter
The PATH Environment Variable Sub-shells
4. Variables
Shell Variables
The read Command The export Command The Shell Environment Parameter Expansion Command Substitution
5. The Login Process
The Login Process
The System Profile Script Your .bash_profile Script The . Command
6. Conditional Statements
The Exit Status of Commands Command Line Examples The test Command
The if-then-else Construct The elif Construct case Statements
#text-block-11 { margin-bottom:0px; text-align:left; }
7. Loops The for Loop
The while Loop
break and continue
Reading Lines From Files Using Arrays with Loops
8. Special Variables
$$ – PID of Shell
Command-Line Arguments $# – Number of Arguments $* – All Arguments The shift Command The set Command Getting Options
9. Quoting Mechanisms
Single vs. Double Quotes What is a Here Document? Using a Here Document Here Document Quoting Ignoring Leading Tabs
10. Functions
Shell Functions
Passing Arguments to Functions Returning Values from Functions Function Declarations
11. Advanced Programming
Shell Arithmetic
The select Statement
Terminal Independence in Scripts The eval Command
12. Debugging Techniques
Using echo
Bash Programming