Module 1 - Linux

Lab 1: Understanding & Exploring the OS

  • What is the OS name, version, and kernel release?

  • What are all the running processes, and which 5 use the most memory?

  • What is the system uptime, and which users are logged in?


Lab 2: Virtual Machines & Networking

  • How do you create a new Ubuntu VM using VirtualBox or VMware?

  • How do you assign a static IP and verify connectivity with another VM?

  • How do you configure a hostname and update the /etc/hosts file?


Lab 3: Package Management

  • How do you install nginx, verify it's running, and check its version?

  • How do you safely remove a package and clean up dependencies?

  • How do you use package managers like apt, snap, or yum?


Lab 4: Users, Groups & Permissions

  • How do you create a new group named devops and a user named jenkins?

  • How do you add the user to the group and set a password?

  • How do you create a shared directory and assign group ownership?


Lab 5: Linux File System & Ownership

  • How do you find the mount points and available disk space?

  • How do you identify file types in Linux?

  • How do you change a file’s ownership to another user?


Lab 6: Security and System Administration

  • How do you check running services and open ports?

  • How do you stop an unused service and disable it from auto-starting?

  • How do you configure a firewall to allow only SSH and HTTP?


Lab 7: Working with Vim & Filters

  • How do you open a file in Vim, edit it, and save changes?

  • How do you extract all error lines from /var/log/syslog?

  • How do you sort and count unique entries from a text file?


Lab 8: Cron Jobs & Automation

  • How do you create a cron job that backs up /etc daily?

  • How do you verify scheduled cron jobs for a user?

  • How do you redirect cron job output to a log file?


Lab 9: Archiving & Compression

  • How do you compress /var/log using tar and gzip?

  • How do you extract an archive to /tmp/log_backup?

  • How do you verify file integrity after extraction?


Lab 10: SSH, SCP & Remote Access

  • How do you generate an SSH key pair?

  • How do you copy a public key to another VM for password less SSH?

  • How do you securely transfer a file using SCP?

  • (Bonus) How do you automate remote command execution with SSH?

Last updated