Set 4

Ubuntu L1-Cadet Industry Assignments

(Part 4 | Index 31–40) Root Working Directory: ~/hello23


31. IT Operations: File Count & Classification

Scenario: Management wants a breakdown of file types.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named file_classification

  • Create files with different extensions

  • Count files by type

  • Save results to file_count.txt

Commands Expected: ls, grep, wc, glob patterns, redirection


32. Junior SysAdmin: Read-Only Directory Enforcement

Scenario: Protect critical directories from modification.

Instructions:

  • Navigate to ~/hello23

  • Create a folder called readonly_test

  • Add files inside it

  • Change permissions to read-only

  • Verify write restrictions

Commands Expected: chmod, ls -l, permission validation


33. Support Engineer: File Timestamp Manipulation

Scenario: Simulate historical file updates for testing.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named timestamp_control

  • Create files

  • Modify access and modification times

  • Display updated timestamps

Commands Expected: touch, stat, ls -l --time


34. Cloud Ops: Mount Information Review

Scenario: Verify filesystem mounts.

Instructions:

  • Navigate to ~/hello23

  • Capture mounted filesystem details

  • Filter disk-based mounts

  • Save output to mount_info.txt

Commands Expectedffective: mount, df -T, grep, redirection


Scenario: Broken links are causing failures.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named symlink_cleanup

  • Create valid and broken symbolic links

  • Identify broken links

  • Remove broken links safely

Commands Expected: ln -s, ls -l, find -type l, rm


36. QA Engineer: Line Count Validation

Scenario: Verify file content completeness.

Instructions:

  • Navigate to ~/hello23

  • Create a folder named line_validation

  • Create text files with multiple lines

  • Count lines, words, and characters

  • Save output to line_report.txt

Commands Expected: wc, cat, redirection


37. DevOps Trainee: Command Alias Creation

Scenario: Improve operational efficiency.

Instructions:

  • Navigate to ~/hello23

  • Create a custom alias for directory navigation

  • Test alias functionality

  • Document alias in a text file

Commands Expected: alias, .bashrc, source


38. Site Reliability: Zombie Process Detection

Scenario: Investigate process anomalies.

Instructions:

  • Navigate to ~/hello23

  • List all zombie processes (if any)

  • Capture process state output

  • Save findings to zombie_report.txt

Commands Expected: ps aux, process states, grep Z


39. Linux Admin: Default Shell Verification

Scenario: Shell mismatch reported by users.

Instructions:

  • Navigate to ~/hello23

  • Identify default shell

  • List available shells

  • Save results to shell_info.txt

Commands Expected: echo $SHELL, cat /etc/shells, redirection


40. Operations Engineer: Uptime & Load Snapshot

Scenario: Capture system health snapshot.

Instructions:

  • Navigate to ~/hello23

  • Capture system uptime

  • Display load averages

  • Save results to uptime_report.txt

Commands Expected: uptime, w, top -b -n 1, redirection



Last updated