Linux Training Practice Tasks

Beginner Level Exercises for Linux System Administration

1. File & Directory Management

  1. Display your current working directory
  2. List all files including hidden files
  3. Create a new directory named "practice"
  4. Create a text file inside the directory
  5. Edit the file and add sample content
  6. Copy the file to another name
  7. Rename the copied file
  8. Delete the renamed file

2. Permissions & Ownership

  1. View file permissions in a directory
  2. Change file permissions to allow execution
  3. Restrict file access to owner only
  4. Change ownership of a file
  5. Change group ownership of a file

3. User Management

  1. Create a new user account
  2. Set password for the user
  3. Switch to the new user
  4. Add the user to sudo group
  5. Remove the user account

4. Process & System Monitoring

  1. View currently running processes
  2. Monitor system performance
  3. Identify high CPU usage process
  4. Terminate a running process

5. Service Management

  1. Check status of a running service
  2. Start a stopped service
  3. Stop a running service
  4. Restart a service
  5. Enable a service at system startup

6. Networking Basics

  1. Check system IP address
  2. Test internet connectivity
  3. View open ports
  4. Display active network connections
  5. Test a local web service

7. Disk & Memory Management

  1. Check available disk space
  2. Find size of a directory
  3. Check memory usage
  4. Check CPU load