Linux Training Practice Tasks
Beginner → Intermediate → Advanced Level Training Workbook
Beginner Level
1. File & Directory Management
- Display your current working directory
- List all files including hidden files
- Create a new directory named "practice"
- Create a text file inside the directory
- Edit the file and add sample content
- Copy the file to another name
- Rename the copied file
- Delete the renamed file
2. Permissions & Ownership
- View file permissions in a directory
- Change file permissions to allow execution
- Restrict file access to owner only
- Change ownership of a file
- Change group ownership of a file
3. User Management
- Create a new user account
- Set password for the user
- Switch to the new user
- Add the user to sudo group
- Remove the user account
4. Process & System Monitoring
- View currently running processes
- Monitor system performance
- Identify high CPU usage process
- Terminate a running process
5. Service Management
- Check status of a running service
- Start a stopped service
- Stop a running service
- Restart a service
- Enable a service at system startup
6. Networking Basics
- Check system IP address
- Test internet connectivity
- View open ports
- Display active network connections
- Test a local web service
7. Disk & Memory Management
- Check available disk space
- Find size of a directory
- Check memory usage
- Check CPU load
Intermediate Level
8. File Search & Text Processing
- Search for a keyword inside multiple files
- Count number of lines, words, and characters
- Sort file content alphabetically
- Remove duplicate lines
- Extract specific columns from a file
9. Compression & Backup
- Create a compressed backup of a directory
- Extract a compressed archive
- Schedule automatic backups
- Verify backup integrity
10. Environment & System Configuration
- View and modify environment variables
- Change default shell for a user
- Configure system hostname
- Create command aliases
- Configure timezone and date
11. Log Management
- Locate system log files
- View recent system logs
- Monitor logs in real time
- Search logs for errors
- Archive old log files
12. Networking & Firewall
- Check firewall status
- Allow a service through firewall
- Block a specific port
- Test firewall rules
- Configure basic port forwarding
13. Automation & Scheduling
- Create a shell script
- Make the script executable
- Schedule a cron job
- Log scheduled job output
- Debug failed cron jobs
14. Package Management
- Install a software package
- Update installed packages
- Remove unused packages
- Search for packages
- View installed packages
Advanced Level
15. Server & Web Management
- Configure a web server
- Host multiple websites
- Enable SSL certificates
- Configure virtual hosts
- Troubleshoot web server issues
16. Storage & File Systems
- Create and mount partitions
- Configure permanent mounts
- Manage swap space
- Monitor disk I/O
- Recover corrupted file systems
17. Security Hardening
- Secure SSH access
- Disable root login
- Configure fail2ban
- Audit user activity
- Implement basic intrusion detection
18. Performance Optimization
- Analyze system bottlenecks
- Optimize memory usage
- Tune kernel parameters
- Optimize running services
- Benchmark system performance
19. Containers & Virtualization
- Install container engine
- Create custom containers
- Manage container networking
- Persist container data
- Monitor container resources
20. Disaster Recovery
- Implement full system backups
- Test restore procedures
- Create recovery documentation
- Simulate failure scenarios
- Implement high availability setup