Linux Bash Shell Scripting: A Practical way of Learning
Learn shell scripting with real-world projects! Practical skills for automation and system administration. Boost your efficiency.
Course Content
Linux Bash Shell Scripting: A Practical way of Learning is a beginner-level Udemy course taught by Shikhar Verma. It runs 9h 16m, is taught in English, and includes a certificate of completion. Learners rate it 4.4 out of 5 from 117 reviews, with 768 students enrolled. It is a paid course, last updated September 2021.
Master Shell Scripting: Automate Tasks & Boost Your Linux Skills
Unlock the power of automation with our comprehensive shell scripting course! This practical course takes you from the basics to advanced techniques, equipping you with the skills to streamline your Linux workflows and build powerful command-line tools. We emphasize hands-on learning through real-world industrial projects, ensuring you can immediately apply your knowledge.
Course Content:
- Introduction to Shell Programming:
- What is Bash Shell? Understand the fundamentals of shell scripting.
- Types of Shells in Linux: Explore the different shell environments available.
- About Shell Scripting: Learn the benefits and applications of shell scripting.
- Bash Shell Startup Scripts:
- Bash Shell Startup Scripts: Customize your shell environment.
- User's Home Directory: Master
.bash_profile,.bashrc, and.bash_logoutfor personalized settings. - Shebang: Learn how to make your scripts executable.
- Create a Simple Shell Script: Write your first script and understand its structure.
- Setting up permissions on a script: Control access to your scripts.
- Debug a Script: Identify and fix errors in your shell scripts.
- Shell Variables & Environment:
- The Shell Variables & Environment: Understand how variables work in the shell.
- Bash Variables: Learn to define and use variables within your scripts.
- Environmental Variables: Explore system-wide variables and their impact.
- System Variables: Access and utilize system-level information.
- Assign values to shell variables: Learn various assignment methods.
- Customize the bash shell environments: Personalize your shell experience.
set,env, &exportcommand: Master these commands for managing environment variables.- Rules for naming variable name: Best practices for variable naming.
- Simple Script using
echocommand: Basic output and text manipulation. - Quoting: Understand the different types of quoting.
- The double quote (")
- The single quote (')
- The Backslash ()
- User Input & Control Flow:
- User's Input via Keyboard: Get input from users.
ReadCommand: Prompt users for input.ifStatement: Implement conditional logic.- Practice Lab Session: Reinforce
ifstatement usage. - Arithmetic Operations: Perform calculations in your scripts.
- Performing Arithmetic Operations
- Create an integer Variable
- Create the Constants Variable
- Path name expansion: Work with file paths effectively.
- Wildcards:
[*], ?, [..] etc: Use wildcards for pattern matching. - Create & use aliases: Simplify commands with aliases.
- Practice Lab Sessions: Apply arithmetic and wildcard concepts.
- Industrial Project: Completely Automate the Pre-validation report.
- A Shell Script to collect required information from a server.
- The Bash Color: Enhance script readability with color.
- Writing Color Text
- Various Color Codes for Foreground & Background Text
- Lab Session on Bash Color: Experiment with color in your scripts.
- Script to fetch the system information i.e system_details.
- Schedule the script via cron: Automate script execution.
- Final Script to fetch the environment report on a single click.
- Lab Session on Conditional Statements (Decision Making):
- Overview of conditional execution
- What is Condition?
- Boolean value (True & False)
if elsestatement
- Lab Session on
if..else..if..elif..else..fistatement testcommand: Perform various tests.- Logical AND
&& - Logical OR
|| - The exit status of a command: Check script success.
- Numeric Comparison
- String Comparison
- File Attributes Comparison
- Shell Command line parameters: Access arguments passed to your scripts.
- Positional parameters via special shell variable
$1, $2, $3,...,$N
- Positional parameters via special shell variable
- Practice Lab Session: Practice with conditional statements and parameters.
- Shell Loops:
- Overview of loop statement
forloop statement- Lab on
forloop
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.