DevOps Pre-Requisite Course
Linux Basics
Labs Introduction
In this article, we introduce the hands-on labs available throughout this course. Each lab offers a unique interactive experience designed to reinforce your learning by providing a live Linux terminal alongside a quiz portal. After you complete a lesson, any associated lab will automatically launch in your browser.
Lab Loading Time
Please be aware that labs may take a few minutes to fully load. Patience is key!
Lab Interface Overview
Once launched, the lab interface is divided into two main sections:
- Live Linux Terminal: Access a real-time Linux environment where you can execute commands.
- Quiz Portal: Complete a series of tasks divided into:
- Exploratory (Multiple-Choice) Questions
- Task-Based Questions, where you perform specific actions using the terminal.
If you require additional workspace during your lab session, simply click the button to hide the curriculum window:
Multiple-Choice Questions
When a multiple-choice question is presented, review the question and select the correct answer. If you're uncertain about the solution, click the hint button to receive guidance or reveal the exact command required. An example of a multiple-choice question interface is shown below:
Task-Based Questions
Task-based questions require you to execute specific commands. For example, one task might ask you to list the structure of a directory. To complete such a task, use the following command:
tree /home/thor/test_dir
This command might display that there are three directories and three files, which confirms the correct answer.
Another typical task involves identifying which text file is missing from the home directory. For instance, if the files "test_file1.txt", "test_file2.txt", and "test_file4.txt" are visible, then "test_file3.txt" is the missing file. If you select an incorrect option, the interface will provide an error message:
Example: Creating an Empty File
For a task-based question that requires creating an empty file, follow these steps:
cd /home/thor/test_dir
ls
cd ..
pwd
touch empty_file.txt
After executing the touch
command, verify that the file has been created successfully. If not, the lab interface will alert you with an error message similar to the one below:
Session Duration and Navigation
Each lab session lasts one hour. While you can access labs multiple times, every session will always start at the first question. If you need to pause and restart—say after completing five questions—you can skip ahead on subsequent sessions. However, note that once you skip a question, it cannot be revisited.
Session Expiry
If your internet connection is lost, your lab session will expire. In this case, refresh the terminal or re-select the lab from the curriculum.
Additional Features and Troubleshooting
Multiple Terminal Windows: You can open a new terminal window during your lab session by clicking the plus button. This is particularly useful when accessing hosted web servers. When clicking on a server URL, a new browser window will open, forwarding your request to the appropriate remote server.
Browser Refresh: If the lab interface does not load consistently, try refreshing your browser. Should the issue persist, contact our support team at [email protected] with a screenshot or detailed error information.
If you require further assistance or have additional questions, please visit our community website to drop a note. Enjoy your interactive learning experience!
Watch Video
Watch video content
Practice Lab
Practice lab