Hands-on Linux system administration exercises completed in a Kali Linux virtual machine as part of my cybersecurity training.
This repository demonstrates practical Linux administration skills that are essential for cybersecurity professionals. The lab covers file management, Linux permissions, software administration, networking, and Bash scripting through real-world command-line exercises performed on Kali Linux. Rather than focusing on theory, this project emphasizes practical skills used by SOC Analysts, System Administrators, Penetration Testers, and Blue Team professionals.
The goal of this project was to gain hands-on experience with core Linux administration tasks including:
- File and directory management
- Linux file permissions
- User and system information gathering
- Software package management
- Network troubleshooting
- Bash scripting and automation
These are foundational skills required in cybersecurity operations.
| Component | Details |
|---|---|
| Operating System | Kali Linux |
| Virtualization | Oracle VirtualBox |
| Shell | Bash |
| Package Manager | APT |
| Networking Tools | ip, route, ping, nslookup |
| Permission Management | chmod |
| System Information | whoami, hostname, uname |
Created and navigated directories using the Linux command line.
mkdir
cd
pwd
touch
ls
ls -l- Created working directories
- Navigated the filesystem
- Created multiple files
- Verified file creation
- Listed directory contents
Understanding the Linux filesystem is fundamental for:
- Digital Forensics
- Log Analysis
- Malware Investigation
- Incident Response
- Secure File Management
Modified file permissions using chmod.
chmod
ls -l- Removed write permissions
- Restored permissions
- Assigned execute permissions
- Verified permission changes
Linux permissions implement the Principle of Least Privilege, helping reduce unauthorized access to files and systems.
Collected important operating system information.
whoami
hostname
uname
uname -a
date- Identify current user
- View kernel version
- Gather system information
- Verify host identity
System reconnaissance is often the first step in:
- Security Assessments
- Vulnerability Management
- Incident Response
- Asset Inventory
Managed software packages using APT.
sudo apt update
sudo apt remove- Updated package repositories
- Removed installed packages
- Verified package management
Keeping systems updated reduces exposure to known vulnerabilities and is a critical security best practice.
Verified network configuration and connectivity.
ip addr
route
ping
nslookup- Examined network interfaces
- Verified routing table
- Tested Internet connectivity
- Performed DNS lookups
Network troubleshooting skills are essential for:
- SOC Monitoring
- Threat Hunting
- Firewall Troubleshooting
- Network Security Analysis
Created and executed a Bash script.
nano
chmod +x
./backup.sh- Created a Bash script
- Assigned executable permissions
- Executed the script successfully
Automation is widely used in cybersecurity for:
- Log Collection
- System Monitoring
- Backups
- Security Auditing
- Repetitive Administrative Tasks
Linux-Fundamentals/
│
├── README.md
├── report.pdf
├── screenshots/
│ ├── file-management/
│ ├── permissions/
│ ├── system-admin/
│ ├── software-management/
│ ├── networking/
│ └── shell-scripting/
│
└── scripts/
└── backup.sh
mkdir
cd
pwd
touch
lschmod
ls -lwhoami
hostname
uname
dateapt update
apt removeip addr
route
ping
nslookupnano
chmod +x
./backup.shThe project includes screenshots demonstrating the successful completion of every task performed in the Kali Linux virtual machine.
Examples include:
- File creation
- Directory navigation
- Permission changes
- System information
- Package updates
- Network connectivity
- Bash script execution
- Linux Administration
- Principle of Least Privilege
- System Hardening
- Network Troubleshooting
- Bash Automation
- Command Line Proficiency
- File Security
- System Enumeration
Through this project, I developed practical experience in Linux system administration that forms the foundation for cybersecurity roles such as:
- SOC Analyst
- Cybersecurity Analyst
- Linux Administrator
- Security Engineer
- Incident Responder
- Penetration Tester
The exercises strengthened my confidence using the Linux command line while demonstrating how administration skills directly support defensive security operations.
- User and Group Management
- Cron Job Automation
- Log Analysis
- Firewall Configuration
- SSH Hardening
- Bash Script Enhancements
- System Monitoring
- Linux Security Auditing
Raheemah Lartey
Cybersecurity Analyst (Transitioning) | SOC Enthusiast | Linux | Networking | SIEM | Python
📧 LinkedIn: www.linkedin.com/in/raheemah-lartey
🌐 GitHub: https://github.com/rah102993/Linux-command-line-basics
This project is part of my cybersecurity learning journey and demonstrates practical Linux administration skills commonly used in Security Operations Centers (SOC), system administration, and incident response.