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.

Linux head Command: File Beginning Display

Linux head Command: File Beginning Display

This tutorial explores the head command in Linux, a utility designed to display the initial lines of a text file. We will cover its basic usage and introduce various parameters for enhanced functionality.
LinuxShell
Crafting Striking Terminal Text with FIGlet

Crafting Striking Terminal Text with FIGlet

FIGlet is a utility for creating large characters out of ordinary screen characters. It's often used in terminal sessions to create eye-catching text, banners, or headers. This project will guide you through the process of using it to generate text, and customizing your output with different fonts.
LinuxShell
System Information Displaying Script

System Information Displaying Script

The sysInfo.sh script is designed to display various system information to the user based on their selection. The script provides a menu for the user to choose from and uses switch case to display the output for the selected option. The information displayed includes currently logged users, shell directory, home directory, OS name and version, current working directory, number of users logged in, available shells in the system, hard disk information, CPU information, memory information, file system information, and currently running process.
LinuxShell
Check Mounted File System Usage

Check Mounted File System Usage

In this challenge, we will write a script to determine whether a given file system or mount point is mounted. We will use the df command to check if the file system is mounted or not. If it's mounted, we will print the free space available in it, otherwise, we will print an error message.
LinuxShell
Perform Wildcard Injection in Nmap for Privilege Escalation

Perform Wildcard Injection in Nmap for Privilege Escalation

In this lab, you will learn how to perform wildcard injection in Nmap to escalate privileges. You'll understand wildcards and practice Crontab Tar wildcard injection techniques to gain elevated access.
ShellCybersecurityLinux
Learn Cron Jobs and Privilege Escalation in Nmap

Learn Cron Jobs and Privilege Escalation in Nmap

In this lab, you will learn about Cron Jobs and how they can be exploited for privilege escalation. You'll understand Cron syntax, overwrite crontab scripts to execute reverse shells, and give Bash SUID. This hands-on lab provides practical experience in Nmap security.
LinuxCybersecurityShell
Demonstrating Input Validation and Code Integrity

Demonstrating Input Validation and Code Integrity

In this lab, you will learn the importance of input validation and code integrity by creating a simple script, simulating a command injection attack, implementing sanitization, and verifying the script's integrity with hashing.
CybersecurityShellLinux
Ansible Shell Module

Ansible Shell Module

In this lab, you will learn how to use the Ansible Shell module to execute shell commands on remote hosts. The Shell module is useful when you need to run shell commands that are not covered by existing Ansible modules or when you require more flexibility and control over the execution.
AnsibleShell
Ansible Script Module

Ansible Script Module

In this lab, you will learn how to use the Ansible Script module to execute custom scripts on remote hosts. The Script module allows you to run scripts written in any programming language on the target hosts, providing flexibility and customization options in your automation tasks.
AnsibleShell
Ansible Local Action Module

Ansible Local Action Module

Welcome to the Ansible Local Action Module Lab! In this lab, you will dive into the usage of the Ansible Local Action module. The Local Action module allows you to run tasks on the control machine where Ansible is being executed. This is useful when you need to perform operations locally, such as executing shell commands or running scripts.
AnsibleShell
Linux Command Repeating

Linux Command Repeating

In this lab, you will learn how to use the `watch` command in Linux to repeat commands and monitor their output. You'll explore basic usage, system resource monitoring, and advanced features for efficient command repetition and system observation within a Docker environment.
LinuxShell
Linux Content Listing

Linux Content Listing

In this lab, you will learn how to use the `ls` command in Linux to list directory contents. You'll explore basic usage, viewing hidden files, sorting and filtering, and exploring files in other directories. This hands-on experience will enhance your Docker environment skills.
LinuxShell
Linux Environment Managing

Linux Environment Managing

In this lab, you will learn how to manage environment variables in a Linux environment. You'll explore viewing, setting, and modifying variables, including the PATH. Discover how to use them in commands and scripts, and make them persistent for future sessions. This lab focuses on Docker environments.
LinuxShell
Creating a Typing Game Using Bash

Creating a Typing Game Using Bash

In this project, you will learn how to create a simple typing game using a shell script. The game displays random characters on the screen, and your goal is to type them before they disappear. The game offers different modes with varying difficulty levels. You can choose to practice typing numbers, letters, a mixture of both, or even your own custom words.
ShellLinux
Build a Task Scheduler Using Bash

Build a Task Scheduler Using Bash

This project will guide you through creating a task scheduler using a Bash script. The task scheduler allows you to schedule and manage tasks to be executed at specified intervals, such as hourly, daily, or weekly. The script provides options to list scheduled tasks, add new tasks, and remove existing tasks.
LinuxShell
Chess Board in Terminal

Chess Board in Terminal

In this project, you will learn how to create a chess board using Bash scripting. By completing this project, you will gain experience in using nested loops, color printing, and shell scripting.
ShellLinux
Docker View Container Logs

Docker View Container Logs

In this lab, you will learn how to set up Docker logging, stream container logs in real-time, and clear container logs to manage disk space. Gain practical experience with Docker log management techniques.
DockerShell
Create and Execute Bash Scripts in RHEL

Create and Execute Bash Scripts in RHEL

In this lab, you will learn to create and execute Bash scripts for RHEL system administration. You will begin by crafting simple scripts, then enhance them with system commands and make them executable. The lab progresses to using `for` loops for automating tasks like system information gathering and filtering command output with `grep` and regular expressions. Finally, you will build a comprehensive RHEL system information script, gaining practical skills in automating administrative tasks and leveraging powerful shell features.
ShellLinux
  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ...
  • 18
  • Next