Set 3

Ubuntu L1-Cadet Industry Assignments

(Part 3 | Index 21–30) Root Working Directory: ~/hello23


21. IT Operations: Directory Size Comparison

Scenario: You are asked to identify which team directory is consuming more space.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named dir_comparison

  • Create two subdirectories with different file sizes

  • Measure directory sizes

  • Save comparison output to size_comparison.txt

Commands Expected: mkdir, dd, du -sh, redirection


22. Junior SysAdmin: Hidden Files Audit

Scenario: Hidden files may contain misconfigurations.

Instructions:

  • Navigate to ~/hello23

  • Create a folder called hidden_files_audit

  • Create visible and hidden files

  • List hidden files explicitly

  • Save findings to hidden_files.txt

Commands Expected: ls -a, touch, output redirection


23. Operations Support: File Ownership Verification

Scenario: Ownership issues are causing access problems.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named ownership_check

  • Create files and inspect ownership

  • Capture ownership details

  • Save output to ownership_report.txt

Commands Expected: ls -l, stat, redirection


Scenario: Understand how links behave in Linux filesystems.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named links_demo

  • Create an original file

  • Create one soft link and one hard link

  • Inspect inode and link behavior

  • Save observations to links_report.txt

Commands Expected: ln, ln -s, ls -li, stat


25. Production Support: Large File Detection

Scenario: Large files are suspected to slow backups.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named large_file_scan

  • Create files of varying sizes

  • Identify files above a chosen size threshold

  • Save results to large_files.txt

Commands Expected: find -size, ls -lh, redirection


26. Cloud Ops: PATH Variable Analysis

Scenario: Command execution issues are reported.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named path_analysis

  • Display the PATH variable

  • Split and list each path entry

  • Save output to path_report.txt

Commands Expected: echo $PATH, tr, sed, redirection


27. Site Reliability: Open File Descriptor Check

Scenario: System resource limits need inspection.

Instructions:

  • Navigate to ~/hello23

  • Capture current open file limits

  • List open files for your user session

  • Save results to fd_report.txt

Commands Expected: ulimit -n, lsof, redirection


28. QA / Release Ops: File Difference Review

Scenario: Two configuration versions must be compared.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named file_diff

  • Create two similar text files

  • Compare differences

  • Save diff output to diff_report.txt

Commands Expected: diff, cmp, redirection


29. DevOps Support: Scheduled Task Inspection

Scenario: Unexpected jobs may be running.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named cron_audit

  • List user cron jobs

  • Capture system cron directories

  • Save output to cron_report.txt

Commands Expected: crontab -l, ls /etc/cron*, redirection


30. Junior Linux Engineer: System Identity Snapshot

Scenario: Capture a system snapshot for diagnostics.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named system_identity

  • Capture hostname, OS info, kernel version

  • Save all details to system_info.txt

Commands Expected: hostname, uname -a, lsb_release -a, redirection



Last updated