Count Matching Files Recursively
The monitoring team wants a tiny helper they can point at any directory.
Create the executable script /home/student/bin/count-files.sh that takes one argument, a directory, and:
.out exist anywhere under that directory (subdirectories included)*.outnot a directory: <arg> to stderr and exits with code 1The grader runs it against hidden directory trees.
About this machine
Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.
Your machine is ready to start
Create a free account to open a machine and get graded.