+353 1 402 9423 | hello@guruteamirl.com
During this Bash Shell Programming 4 Day Workshop intensive training students learn to read, write, and debug shell scripts, thus increasing productivity by taking full advantage of the BashShell. Approximately 70% of this course is spent on varied lab exercises from simple to more complex scripting.
POA
If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please contact us to discuss your suitability for course attendance.
Private Team Training is available for this course
Private Team Training | Contact us
+353 1 402 9423
hello@guruteamirl.com
Expand all
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
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
Using Standard Error
Script Tracing
Options for Debugging
Conditional Debugging
There are a number of options of suitable follow-on courses, depending on your business needs. Please contact us for further details.
We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.
Technical ICT learning & mentoring services
Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.
Learn more about our Private Team Training
"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor. It wouldn't be an understatement to say that it was the best professional training that I have ever received."
Customised Linux with Networking
Live Online - February 2022
"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."
Kubernetes Administration Certification - GTLFK
Live Online June 2021
“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”
Professional Cloud Service Manager - GTC13
Live Online December 2021
“Very engaging and practical course so hope to be able to put the learning into practice.”
Being Agile in Business - GTBAB
Live Online September 2021
“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.
Site Reliability Engineering Foundation - GTDSRE
Live Online January 2022
"Intelligence is the ability to avoid doing work, yet getting the work done"
Linus Torvalds, creator of Linux and GIT
GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials
18th - 21st July 2023 SOLD OUT
5th - 8th September 2023
Live Online
This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster
Learn More
17th - 20th October 2023
This LPIC-1 Part 2 Linux Administrator Certification training course prepares students to take the LPI 102-500 exam of the LPIC-1 certification.
19th - 20th October 2023
DevOps Foundation is intended to provide individuals with an understanding of basic DevOps concepts and how DevOps may be used to improve communication, collaboration and integration between software developers and IT operations professionals.
INTRO TO PYTHON 3
15th - 17th August
14th - 16th November
5th - 7th December
A comprehensive introduction to the core syntax and functions provided by Python, including coverage of its object-oriented and functional programming features.
View All Scheduled Courses
Newsletter
Stay up to date, receive updates on scheduled dates, new courses, offers, and events.