Red Hat Enterprise Linux Exercises

Sharpen your Red Hat Enterprise Linux skills through a series of hands-on exercises. This collection of practical challenges is designed to test and improve your ability to solve real-world system administration problems. Each exercise provides an opportunity to apply knowledge in a controlled environment, covering key areas such as system configuration, user management, network services, and security. Gain practical experience by working through scenarios commonly encountered by RHEL professionals.

User Account Management

User Account Management

In this lab, we will introduce how to manage the user account in the Linux platform, such as creating new user accounts, modifying the user account management, and deleting a user account.
LabRed Hat Enterprise Linux
Archive a Draft File

Archive a Draft File

Move and rename one draft file without changing its content.
ChallengeRed Hat Enterprise Linux
Display User and Group Information

Display User and Group Information

In this challenge, you need to use the Linux command to display user and group information.
ChallengeRed Hat Enterprise Linux
Onboard a Practice User

Onboard a Practice User

Create one normal Linux user and grant access to one existing supplementary group.
ChallengeRed Hat Enterprise Linux
Find and Protect a Configuration File

Find and Protect a Configuration File

Locate one exact configuration file and make it private to its owner.
ChallengeRed Hat Enterprise Linux
File and Directory Operations

File and Directory Operations

Build practical Linux file skills by navigating paths, creating and editing files, inspecting metadata, working with links, and comparing files and directories.
LabRed Hat Enterprise Linux
Get Help on Linux Commands

Get Help on Linux Commands

Learn how to identify commands, read quick usage text, navigate manual pages, and discover commands by topic without memorizing every option.
LabRed Hat Enterprise Linux
Basic File Operations in Linux

Basic File Operations in Linux

Learn how Linux paths, directories, files, listings, wildcards, copy, move, removal, and terminal shortcuts fit together in one safe workspace.
LabRed Hat Enterprise Linux
Linux User Group and File Permissions

Linux User Group and File Permissions

Learn to manage Linux users, groups, account locks, ownership, default permissions, sticky directories, and setgid collaboration in a safe practice environment.
LabRed Hat Enterprise Linux
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.
ChallengeRed Hat Enterprise Linux
Your First Git Lab

Your First Git Lab

Learn the basics of Git version control by creating your first repository, adding files, and making commits. This hands-on lab will guide you through the fundamental Git commands and workflows.
LabRed Hat Enterprise Linux
Your First Rust Lab

Your First Rust Lab

Hi there, welcome to LabEx! In this first lab, you'll learn the classic 'Hello, World!' program in Rust.
LabRed Hat Enterprise Linux
Reading a CSV File

Reading a CSV File

In this lab, we will learn how to read a CSV file in Java. CSV files are often used to store data in a simple and easily readable format. We will cover three different approaches to reading CSV files in Java: using BufferedReader, Scanner, and the OpenCSV library.
LabRed Hat Enterprise Linux
Spy in Mockito

Spy in Mockito

Mockito is a Java framework used for mocking and unit testing Java applications. In this lab, we will learn about spies in Mockito. A Spy is like a partial mock, which will track the interactions with the object like a mock. Additionally, it allows us to call all the normal methods of the object. We will use the Mockito.spy() method and annotations to create spies and demonstrate how to stub a Spy.
LabRed Hat Enterprise Linux
Circle Area and Circumference in C

Circle Area and Circumference in C

In this lab, we will learn how to write a C program to find the area and circumference of a circle. We will use the formula area = PI radius radius and circumference = 2 PI radius. We will be using the stdio.h library to read and write data.
LabRed Hat Enterprise Linux