Linux Bash Shell Scripting: A Practical Way of Learning
Practical approach to learn and explore the shell scripting with various industrial projects
IT & Software,Operating Systems,Linux bash shell
Lectures -84
Resources -1
Duration -8.5 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
Linux Bash shell scripting is a powerful tool that can be used to automate tasks, manage systems, and develop complex applications. It is a must-have skill for any Linux user or administrator.
This online video course will teach you everything you need to know about Linux Bash shell scripting, from the basics to advanced topics. You will learn about variables, functions, conditional statements, loops, regular expressions, and more. You will also learn how to write scripts to automate common tasks, such as file management, system administration, and software development.
Linux Bash Shell Scripting: A Practical Way of Learning Course Overview
This course is designed in such a way that you can learn as well as explore the entire course module with various industrial projects.
A practical approach to learning and exploring shell scripting with various industrial projects
Course Content
Introduction of Shell Programming
- What is Bash Shell?
- Types of Shell available in Linux
- About Shell Scripting
- Bash Shell Startup Scripts
- User’s Home Directory - .bash_profile, .bashrc & .bash_logout
- Shebang
- Create a simple Shell Script
- Setting up permissions on a script
- Debug a Script
The Shell Variables & Environment
- Bash Variables
- Environmental Variables
- System Variables
- Assign values to shell variables
- Customize the bash shell environments
- set, env & export command
- Rules for naming variable name
- Simple Script using echo command
- Quoting
- There are three Type of quoting
- The double quote (")
- The single quote (')
- The Backslash (\\)
- User's Input via Keyboard
- Read Command
- IFS
- Practice Lab Session
Arithmetic Operations
- Performing Arithmetic Operations
- Create an integer Variable
- Create the Constants Variable
- Path name expansion
- Wildcards [*], ?, [..] etc
- Create & use aliases
- Practice Lab Sessions
Industrial Project to Completely Automate the Pre-validation Report
- A Shell Script to collect required information from a server
- The Bash Color
- Writing Color Text
- Various Color Codes for Foreground & Background Text
- Lab Session on Bash Color
- Script to fetch the system information i.e system_details
- Schedule the script via cron
- Final Script to fetch the environment report on a single click
- Lab Session
Conditional Statements (Decision Making)
- Overview of conditional execution
- What is Condition?
- Boolean value (True & False)
- If else statement
- Lab Session on if..else..
- if..elif..else..if statement
- test command
- Logical AND &&
- Logical OR !!
- The exit status of a command
- Numeric Comparison
- String Comparison
- File Attributes Comparison
- Shell Command line parameters
- Positional parameters via special shell variable $1, $2, $3,...,$N.
- Practice Lab Session
Bash Loops
- Overview of loop statement
- for loop statement
- Lab on for loop
- for loop using C-like Syntax
- for loop using command line arguments
- Nested for loop statement
- Chessboard using a nested loop statement
- While loop statement
- Lab Session - read a text file line-by-line or using IFS
- infinite while loop
- case statement
- Lab session on case statement
- Create a simple menu-driven program or automation tool Using Case Statement
- Industrial Project
- Discussed various scripts using for or while loop
Shell Redirection & Process Management
- Input Output Redirection in Linux
- Lab Session on redirection
- Pipelines in Linux
- tee command
- file descriptor (fd) to file for output
- file descriptor (fd) to file for input
- file descriptor (fd) for reading & writing
- Practice Lab Session
- Overview of a Process
- Foreground & background Process
- Various Stats of a Process
- Lab Session
Functions
- Defining functions
- Displaying functions
- Nested functions
- Lab Session - writing functions
- Calling functions
- Local & global variables
- Passing arguments into a function
- return statement
- Practice Lab Sessions
AWK
- Introduction Awk
- Pattern matching
- User-defined variables in awk
- Awk pre-processing
- Awk post-processing
- Practice Lab Session
SED Stream Editor
- Introduction
- Replacing or substituting string.
- Replacing the nth occurrence of a pattern in a line
- Replacing all the occurrences of the pattern in a line
- Changing the slash (/) delimiter
- Using & as the matched string
- Duplicating the replaced line with the /p flag
- Replacing string on a specific line number
- Replacing string on a range of lines
- Replace on a line that matches a pattern
- Deleting lines
- Add a line after a match
- Add a line before a match
- Last Lecture
Who is this course for?
IT professionals across a broad range of disciplines who need to perform essential administration tasks and automation.
Graduate Students and also those who are looking for a job in Automation using Shell Scripting in Linux & want to get hands-on practical experience in Automation & build up a base on Shell Scripting.
Goals
- Overview of various shells in Unix Based Operating Systems
- Introduction of Shell Programming
- Bash Shell Startup Scripts
- Shebang
- Debug a script
- The Shell Variables & Environment
- Bash, Environmental & System Variables
- set, env & export command
- Quoting and their types
- Performing Arithmetic Operations
- Create an integer & constants Variable
- Wildcard and path name expansions
- Industrial Project to Completely Automate the Pre-validation Report
- Conditional Statements (Decision Making)
- If else statement & if…elif..else..if statement
- Logical AND &&, OR!!
- test command & exit status of a command
- Numeric, String & File Attributes Comparison
- Positional parameters via special shell variable $1, $2, $3,…,$N
- Bash Loops - for loop statement
- for loop using C like Syntax, passing arguments, nested loop
- Chessboard using a nested loop statement
- While loop statement
- Case Statement
- Create a simple menu-driven program or automation tool Using Case Statement
- Shell Redirection & Process Management
- Input Output Redirection in Linux
- file descriptor (fd) to file
- Foreground & background Process
- Defining functions
- Nested functions
- Writing functions, Calling functions
- Local & global variables
- Passing arguments into a function
- Return statement
- Practice Lab Sessions
- About AWK
- Pattern matching in AWK
- Pre & post processing in AWK
- User-defined variables in AWK
Prerequisites
- PC or Laptop with an internet connection
- Basic knowledge of any operating system.
![Linux Bash Shell Scripting: A Practical Way of Learning Linux Bash Shell Scripting: A Practical Way of Learning](https://d3mxt5v3yxgcsr.cloudfront.net/courses/5134/course_5134_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
10 Lectures
-
Overview of course module 07:43 07:43
-
What is Linux Shell? 04:59 04:59
-
Types of shells available in Linux 08:43 08:43
-
About Shell Scripting 07:36 07:36
-
Overview of Bash Shell 02:06 02:06
-
User’s Home Directory - .bash_profile, .bashrc & .bash_logout 08:50 08:50
-
Practice Lab Session - 1 08:17 08:17
-
Practice Lab Session - 2 04:20 04:20
-
Create a simple shell script 08:16 08:16
-
Debug a script 10:33 10:33
The Shell Variables & Environment
10 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Arithmetic Operations
6 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Industrial Project to Automate the Pre-validation report
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Conditional Statements (Decision Making)
14 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Bash Loops
13 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Shell Redirection
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Functions
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
AWK
4 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
SED - Stream Editor
6 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Shikhar Verma](https://www.tutorialspoint.com/assets/profiles/374289/profile/200_339039-1631208811.jpg)
Shikhar Verma
Shikhar Verma, an entrepreneur and corporate trainer, runs the IT company Techstart, which deals with IT-based projects like designing, creating certified courses, writing content, and handling and maintaining various offline/online projects for well-known companies.
He had already worked for more than 15 years in the IT industry before starting his own business.
Shikhar's passion is to work in an environment where his technical skills and experience are put to proper use for the growth of the company and his career.
And he is on Tutorialspoint, to teach what he knows in an approachable way. He started teaching courses in 2016 and has taught over 1 Lakh students. and grateful every day for being able to connect with so many students in almost every country around the world.
He is qualified with a BTech in Electrical and Electronics Engineering, and more than 90,000 students across 165 countries have benefited from enrolling in various technical courses offered by him.
Primary Skills are DevOps, Docker, Git, Kubernetes, Linux, Ansible, Shell Scripting, AWS Cloud (Amazon Web Services), Linux Cluster, Perl, etc
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)