Shell Tutorials
Shell scripting tutorials offer a systematic approach to mastering command - line operations and automation. Our tutorials cover different shells and scripting techniques, suitable for both beginners and experienced users. Through hands - on labs and practical examples, you'll become proficient in writing efficient shell scripts. Our interactive command - line environment enables you to practice and experiment with shell commands in real - time.
Other Skill Trees
LinuxDevOpsCybersecurityDevOps EngineerCybersecurity EngineerDevSecOpsKali LinuxRed Hat Enterprise LinuxRHCSA TrainingRHCE in Enterprise Linux TrainingLFCS TrainingGitCloudflareDockerKubernetesCKA TrainingCKAD TrainingCKS TrainingAnsibleRHCE in Ansible TrainingJenkinsNmapWiresharkHydraCompTIADatabaseMySQLPostgreSQLRedisMongoDBSQLitePythonRustGolangJavaCC++Web DevelopmentData Science
Docker Run Command Parameters
Learn the Docker run command and its various parameters in this comprehensive lab. Learn to manage container naming, port mapping, volume mounting, environment variables, resource constraints, networking, restart policies, and custom commands.
DockerLinuxShell
Shell Scripting Fundamentals
Build beginner Bash scripts with shebangs, variables, quoting, input, arguments, conditions, file tests, exit status, and for loops.
Shell
Scheduled Backup and Recovery
Create manifest-based tar backups, inspect archives, restore one file, and schedule timestamped backups safely with Cron.
LinuxShell
Write a Log Error Summary Script
Write one short Bash script that counts error lines in each prepared log.
Shell
Conditional Statements in Shell
In this lab, you will learn how to use conditional statements in shell programming to make logical decisions. You'll practice writing if-else statements, using elif for multiple conditions, performing numeric and string comparisons, and combining conditions with logical operators. By the end of this lab, you'll be able to create shell scripts that can make decisions based on various conditions.
Shell
Shell Arrays
Explore the power of arrays in shell programming through this hands-on lab. Learn to create, manipulate, and access elements in arrays, enabling efficient data organization and manipulation in your shell scripts.
Shell
Word Count and Sorting
Learn the essential Linux text processing tools wc (word count) and sort in this hands-on challenge. Learn to count lines, words, and characters, find frequent patterns, and sort data efficiently for various text analysis tasks.
LinuxShell
Bash Trap Command
In this lab, you'll learn to use the Bash trap command to handle signals and interruptions in your scripts. You'll create a script that catches specific signals, implement custom actions for these signals, and use functions with trap for more organized code. By the end, you'll be able to write scripts that gracefully handle various scenarios and prevent unpredictable behavior.
ShellLinux
Comparing Arrays in Shell
In this lab, you will learn how to compare arrays in Shell scripting. You'll work with three arrays and implement a script to find common elements among them. This exercise will enhance your understanding of array manipulation, loops, and conditional statements in shell scripting.
ShellLinux
Special Variables in Shell
In this lab, you will explore special variables in shell scripting. You'll learn to use variables like $0, $1, $#, $?, and $$ to access script name, command-line arguments, argument count, exit status, and process ID. You'll also understand the difference between $@ and $* for handling multiple arguments.
ShellLinux
Arithmetic Operations in Shell
Learn arithmetic operations in Shell programming through this hands-on lab. Learn to perform calculations, use variables, and employ basic arithmetic operators to solve real-world problems like calculating costs in a shell script.
ShellLinux
Bash Scripting Loops
In this lab, you will master the use of loops in Bash scripting. You'll learn how to implement for, while, and until loops to efficiently repeat instructions. Additionally, you'll explore break and continue statements to control loop execution. By the end of this lab, you'll be able to create more dynamic and flexible Bash scripts using various loop structures.
LinuxShell
Hello, Bash!
Dive into the world of shell scripting with this hands-on lab. Learn to create, edit, and execute a simple Bash script that prints the classic 'Hello, World!' message. Master essential Linux commands and Bash scripting fundamentals along the way.
LinuxShell
Passing Arguments to the Script
Learn the art of passing and handling arguments in Shell scripts. This hands-on lab will guide you through creating a script that accepts command-line arguments, accessing them using special variables, and implementing logic based on the number and content of these arguments.
ShellLinux
File System Operations in Shell
In this lab, you will learn how to perform various file tests in the shell. You'll create test files and directories, check for their existence, and test file permissions. By the end of this lab, you'll be able to write shell scripts that can interact with the file system and make decisions based on file properties.
LinuxShell
Shell Functions
In this lab, you will learn about functions in shell programming. You'll create and use functions with parameters, explore return values, understand variable scope, and implement an advanced function. By the end of this lab, you'll be able to write reusable code blocks to perform repeated tasks efficiently in shell scripts.
Shell
Finding the Pirate's Treasure
Learn shell scripting basics by decoding Captain Blackbeard's treasure map using shell variables and arithmetic operations. Practice creating executable scripts, using variables, and performing arithmetic calculations in Bash.
ShellLinux
Random Password Generator Development
In this challenge, we will implement a bash script called genpass.sh that generates random passwords. The generated password should be 12 characters long and meet specific requirements: it must contain at least one digit, one uppercase letter, one lowercase letter, and one special character. The goal is to create a password generator that meets these conditions and returns a different password each time it is executed. We will explore topics such as the Linux random number generator and the basics of bash script programming.
ShellLinux
- Prev
- 1
- 2
- 3
- 4
- 5
- 6
- ...
- 19
- Next