LFCS Exercises

Strengthen LFCS readiness with hands-on exercises and challenges that map to common exam domains. Apply theory to realistic tasks in users, storage, networking, services, and security. This collection will grow alongside dedicated mock exams to test proficiency under performance-based conditions.

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.
LabLFCS Training
Archive a Draft File

Archive a Draft File

Move and rename one draft file without changing its content.
ChallengeLFCS Training
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.
ChallengeLFCS Training
Onboard a Practice User

Onboard a Practice User

Create one normal Linux user and grant access to one existing supplementary group.
ChallengeLFCS Training
Find and Protect a Configuration File

Find and Protect a Configuration File

Locate one exact configuration file and make it private to its owner.
ChallengeLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
ChallengeLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training
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.
LabLFCS Training