Ubuntu L1-Cadet Industry Assignments
(Part 7 | Index 61–70)
Root Working Directory: ~/kactii23
61. IT Operations: Recursive Permission Listing
Scenario:
Ops needs a full permission snapshot of a project tree.
Instructions:
Create a folder named recursive_permissions
Create nested directories and files
Generate a recursive permission listing
Save output to permissions_tree.txt
Commands Expected:
mkdir -p, touch, ls -lR, redirection
62. Junior SysAdmin: Default File Creation Mask (umask)
Scenario:
Unexpected default permissions reported.
Instructions:
Create a folder named umask_check
Create new files and directories
Observe default permissions
Save findings to umask_report.txt
Commands Expected:
umask, touch, mkdir, ls -l, redirection
63. Operations Support: Command Output Paging
Scenario:
Large outputs are hard to inspect.
Instructions:
Create a folder named paging_demo
Generate a long directory listing
View output using a pager
Capture a sample to paged_output.txt
Commands Expected:
ls -R, less, output redirection
64. Infrastructure Engineer: File Move vs Copy Behavior
Scenario:
Clarify data movement behavior.
Instructions:
Create a folder named move_vs_copy
Copy the file to another directory
Verify results and document differences
Commands Expected:
cp, mv, ls, stat
65. Cloud Ops: Directory Size Sorting
Scenario:
Identify the largest directories quickly.
Instructions:
Create a folder named size_sorting
Create directories with different sizes
List directories sorted by size
Save output to size_sorted.txt
Commands Expected:
du -sh, sort -h, redirection
66. QA Engineer: Trailing Whitespace Detection
Scenario:
Formatting issues found in text files.
Instructions:
Create a folder named whitespace_check
Create text files with trailing spaces
Detect lines with trailing whitespace
Save results to whitespace_report.txt
Commands Expected:
grep, regex usage, redirection
67. DevOps Support: Command Exit Status Verification
Scenario:
Automations fail silently.
Instructions:
Run successful and failing commands
Check exit status immediately after each command
Document exit codes in exit_status.txt
Commands Expected:
$?, command execution, redirection
68. Site Reliability: File Descriptor Count per Process
Scenario:
Investigate resource-heavy processes.
Instructions:
Identify a running process
Count open file descriptors for that process
Save results to fd_count.txt
Commands Expected:
lsof, /proc, wc -l, redirection
69. Linux Admin: System Path Resolution Order
Scenario:
Wrong binary version being executed.
Instructions:
Identify command resolution order
Compare multiple binaries with the same name
Save findings to path_resolution.txt
Commands Expected:
which -a, type -a, redirection
70. Operations Engineer: System Resource Limits Snapshot
Scenario:
Capture limits for troubleshooting.
Instructions:
Display current resource limits
Capture both soft and hard limits
Save output to limits_report.txt
Commands Expected:
ulimit -a, redirection