Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux Shell Scripting & Vi Editor Mastery Course [2026] !
Rating: 4.1 out of 5(105 ratings)
22,015 students

Linux Shell Scripting & Vi Editor Mastery Course [2026] !

Master the Fundamentals of Shell Scripting & Vi Editor in 2024
Created byAyush Kumar
Last updated 11/2025
English
English [Auto],

What you'll learn

  • Understanding Shell Scripting Fundamentals
  • Mastery of Control Structures and Looping
  • Automation and Scripting for System Administration
  • Integration with External Tools and Systems

Course content

2 sections35 lectures4h 0m total length
  • Introduction to Shell Scripting6:32

    Explore what a shell and bash are and create your first hello world script to automate tasks, using the interpreter line and running it with ./.

  • Installation of VS Code4:22

    Install Visual Studio Code from Ubuntu Software, then open and use it to write a simple bash script with a shebang, grant execute permission, and run it.

  • All about variables12:21

    Learn about variables in bash scripting, including user defined and environment variables, how to name and print them with echo, and the basic rules for spaces and scope.

  • How to read input8:35

    Learn to read user input in shell scripting using the read command, including interactive prompts with read -p, storing values in variables, and hiding input with read -s for passwords.

  • Command Substitution5:49

    master command substitution in linux shell scripting by assigning commands to variables, using backticks or the dollar-parenthesis syntax, and displaying results with echo, including pwd and creating files.

  • How to pass arguments6:09

    Learn how to pass arguments to a bash script using positional parameters like $1 and $2, and the argument list with $@, enabling flexible command-line scripting.

  • Task 12:59

    Create a shell script that reads a user input for a server, pings it with a three count and a five second timeout, and sets execute permission to run.

  • Task 24:19

    Learn to connect to a remote machine via ssh with a bash script, prompting for username and IP or accepting parameters, and verify the session with whoami.

  • Operators10:28

    Learn to use bash operators, including arithmetic, relational, and boolean, in scripts. Practice increment, decrement, modulus, and if-else logic with N1 and N2.

  • If else5:54

    Learn to use if, elif, and else in bash scripts, with examples showing a equal to ten and voting eligibility by age to print appropriate messages.

  • Case3:46

    Explore the case statement in shell scripting through a grading system example, mapping A, B, C, and default to score ranges using the in keyword and esac.

  • Arrays6:36

    Learn how arrays store multiple values in a single variable and how to initialize them with parentheses. Access elements via zero-based indexing and print all elements with the asterisk syntax.

  • For Loop16:35

    Master the for loop in shell scripting by understanding its syntax—initialization, condition, and increment—then apply it to print array elements across languages like Python, C++, Java, and C.

  • While Loop7:05

    Explore the while loop in shell scripting, comparing it to the for loop, with syntax, condition-based execution, and examples that print a name and access array elements.

  • Until Loop8:33

    Explore the until loop in shell scripting, which runs while the condition is false and exits when it becomes true, the reverse of the while loop.

  • Break and Continue7:38

    Learn how break and continue control loops in linux shell scripting, using for and while loops with if conditions to break or skip iterations, demonstrated with practical examples.

  • Automating Directory and File Creation6:33

    Automates directory and file creation with a for loop in a shell script, using mkdir and touch, reading user input, and naming directories with an index variable.

  • Automating User Creation5:42

    Automate user creation with a for loop that prompts for username and password based on a choice, and use sudo useradd with /bin/bash to add accounts.

  • Test Command14:10

    Learn how to use the test command in bash to evaluate expressions and conditions, including string, numeric, and file checks, with options like -n, -z, -s, and directory tests.

  • Functions12:35

    Explore Linux shell scripting functions: define and call reusable blocks, create parameterized functions with $1 and $2, return values with return and capture $? for use in scripts.

  • Nested Function5:10

    Shows how to define a function inside another in shell scripting and call nested functions, using parameterized sum and subtraction to demonstrate the flow and outputs.

  • Global Variables4:59

    Define local variables inside a function and global variables outside, highlighting their scope in shell scripting. Demonstrate that global variables are accessible from anywhere, while locals stay within the function.

  • User Deletion Automation5:39

    Learn to automate user deletion with a bash script that uses functions and global/local variables, prompting for a password and deleting the specified user with sudo.

  • File Integrity Checker10:44

    Create a file integrity checker script using md5 hashes to generate and compare current and previous values, saving to an md5 file and reporting changes.

  • How to clone github repository3:24

    Create a simple shell script named 24_clone_repo.sh that reads a repository link from the user and uses git clone to clone a GitHub repository into a new folder.

  • Nmap Automation18:22

    Learn to automate network mapping with Nmap in a bash script that takes a hostname or IP, performs normal, tcp, and udp port scans, and validates input.

Requirements

  • Basics of Linux (Not Mandatory)

Description

Welcome to Your 2024 Powerhouse: Linux Shell Scripting & Vi Editor Mastery!

Ready to unlock the hidden power of automation and efficient editing? This comprehensive course is your beginner-friendly roadmap to mastering both Linux shell scripting and the legendary Vi editor in 2024. No prior experience is needed! We'll guide you step-by-step, from the ground up, equipping you with the skills to conquer your tasks.

Dive into the Shell Scripting World:

  • Scripting Fundamentals: Master the Linux shell, its power, and how to leverage it for automation.

  • Hands-On Exercises: Learn by doing! Tackle real-world tasks and gain practical experience.

  • Control Structures: Craft versatile scripts with if-else statements, loops, and more.

  • SysAdmin Automation: Automate tasks like file management, user creation, and security checks.

  • External Tool Integration: Seamlessly connect your scripts with Visual Studio Code, GitHub, and Nmap.

Conquer Text Editing with Vi:

  • Essential Vi Commands: Navigate, edit, and manipulate text with confidence.

  • Efficient Workflow: Master modes and powerful editing techniques.

  • Customization: Tailor Vi to your preferences for maximum comfort and speed.

By the end of this course, you'll be:

  • Scripting like a pro: Create powerful scripts to automate tasks and boost your productivity.

  • Editing with lightning speed: Navigate and manipulate text with ease using Vi's advanced features.

  • Ready to take on more: Equip yourself with valuable skills for your IT career or personal projects.

Join us on this exciting journey! Enroll today and start scripting and editing your way to success in 2024!

Who this course is for:

  • Anyone who wants to learn shell scripting