https://github.com/anuj-er/linux-administration-lab-experiments
A repository containing lab exercises and practical demonstrations performed during Linux systems administration classes. This collection documents hands-on experience with command-line operations, system configurations, and essential administrative tasks covered throughout the course.
https://github.com/anuj-er/linux-administration-lab-experiments
linux linux-administration shell-script users
Last synced: about 2 months ago
JSON representation
A repository containing lab exercises and practical demonstrations performed during Linux systems administration classes. This collection documents hands-on experience with command-line operations, system configurations, and essential administrative tasks covered throughout the course.
- Host: GitHub
- URL: https://github.com/anuj-er/linux-administration-lab-experiments
- Owner: Anuj-er
- Created: 2025-02-03T05:31:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T05:18:52.000Z (about 1 year ago)
- Last Synced: 2025-07-10T09:01:21.619Z (11 months ago)
- Topics: linux, linux-administration, shell-script, users
- Homepage: https://github.com/Anuj-er/Linux-Administration-Lab-Experiments
- Size: 10.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux Command Line Laboratories

[](https://opensource.org/licenses/MIT)
[](https://www.linux.org/)
[](https://www.redhat.com/academy)
## 📚 Repository Overview
This repository contains a comprehensive collection of Linux command-line laboratory exercises designed to build proficiency in essential system administration tasks. Each lab is meticulously documented with clear instructions and screenshot evidence of command execution.
## 📊 Repository Structure
```mermaid
graph TD
A[Linux Command Line Labs] --> B[Lab Files]
A --> C[Screenshots Directory]
B --> D[Lab-1,2.md]
B --> E[Lab-3,4.md]
B --> F[Lab-5,6.md]
B --> G[Lab-7,8.md]
B --> H[Lab-9,10.md]
B --> I[Lab-11,12.md]
B --> J[Lab-13,14.md]
B --> K[Lab-15,16.md]
C --> L[File Operations]
C --> M[System Info]
C --> N[User Management]
C --> O[Permissions]
C --> P[Text Editors]
C --> Q[Process Management]
C --> R[Package Management]
```
## 📋 Complete Lab Plan
| Sr. No. | Lab Number | Experiments |
|---------|------------|-------------|
| 1 | 1-2 | Use the touch command to create sets of empty practice files. Create six files with names of the form `songX.mp3`, `snapX.jpg`, `filmX.avi`. Create three subdirectories: `friends`, `family`, and `work` using a single command. |
| 2 | 3-4 | View the `gedit` man page. Use `man -k ext4` to find the command to tune ext4 file-system parameters. Use brace expansion and wildcards for file matching. Explore `cat`, `less`, and `more` commands. |
| 3 | 5-6 | Use `vim` and `nano` to edit files. Use the `lab_file` shell variable. Enter visual mode in Vim, remove the last seven characters of the first column, and preserve only the first four characters. |
| 4 | 7-8 | Create the `/home/consultants` directory. Add write permission to the `consultants` group using symbolic method. Forbid access to others. Change the `umask` for `operator1` user to prohibit all access for non-group users. |
| 5 | 9-10 | Implement `ps`, `top`, and `kill` commands with their options. Install, update, and remove software using `apt-get`. |
| 6 | 11-12 | Create the `operator1` user and set the password. Add `operator2` and `operator3` users with passwords. Use `usermod -c` to update comments for `operator1`. Remove `operator3` from the system. |
| 7 | 13-14 | Use `chown` and `chmod` commands with their options to modify ownership and permissions. |
| 8 | 15-16 | Write shell scripts to print system information and perform basic mathematical calculations. Use redirection operators to store command outputs. |
| 9 | 17-18 | Implement `fdisk`, `parted`, `df`, and `du` commands with their options for disk management. |
| 10 | 19-20 | Use `rsync`, `tar`, and compression commands to efficiently store and transfer files. |
| 11 | 21-22 | Configure system networking using `netplan` and `nmcli`. Set up and configure the system firewall. |
| 12 | 23-24 | Use `top`, `htop`, `iostat`, and `vmstat` to monitor system performance. Tune the system using `sysctl` and `tuned`. Perform log management and analysis using `syslog` and `journalctl`. |
| 13 | 25-26 | Execute `ssh` commands to securely access remote computers. |
| 14 | 27-28 | Run shell scripts to create functions and perform advanced string manipulations. Use `cron` and `at` commands to schedule future tasks. |
| 15 | 29-30 | Create and manage containers to create virtual machines on the system. |
## 🔥 Embark on Your Linux Adventure
🧭 Begin Your Quest
-
Summon the repository:
git clone https://github.com/Anuj-er/Linux-Administration-Lab-Experiments/
-
Enter the training grounds:
cd linux-command-labs
-
Study the ancient scrolls: Each Lab-X,X.md file contains wisdom and challenges
-
Consult the visual tomes: Screenshots directory holds visual proof of successful incantations
"The journey of a thousand commands begins with a single terminal."
## 🧠 The Philosophy of Learning Linux
These laboratories are crafted with the wisdom of Red Hat's time-tested pedagogical approach. They embrace a holistic learning philosophy that transforms novices into masters through progressive challenges and hands-on experience.
🔨 Forge Knowledge Through Practice
Theoretical concepts come alive through hands-on exercises that build muscle memory and deep understanding.
👁️ See To Believe, Do To Understand
Visual demonstrations and verified outputs create a feedback loop that reinforces learning.
🏗️ Scaffold Your Linux Knowledge
Each lab builds upon previous concepts, creating a solid foundation that supports advanced skills.
🌐 Learn As You Would Work
Labs simulate real-world scenarios, preparing you for actual system administration challenges.
## 📚 Wisdom Sources
Red Hat Academy
The foundation of enterprise Linux education
RH124
System Administration I
RH134
System Administration II
Man Pages
The original Linux knowledge base
## 📜 Freedom License
This project is licensed under the MIT License - a beacon of open source collaboration that lights the path for all who wish to learn, modify, and share.
See the LICENSE file for the full text of digital liberty.