TERMINAL ENVIRONMENT: Ubuntu 24.04 with bash, git, curl, wget, Python 3.10, pip, coreutils, and build-essential.
Goal
In a local sample_ports directory tree, count how many regular files whose names start with "pkg-plist" contain the substring "etc/rc.d/" (perform a case-insensitive content search). Save the command combined stdout and stderr into the provided capture file.
Requirements
From /workspace, assemble any missing fixtures using standard shell utilities before running your command.
Execute the command(s) necessary to satisfy the goal in a single shell session so that both stdout and stderr are captured.
The combined output must be written to /output/command_capture.txt.
Do not delete any helper files generated during execution; the verifier inspects them.
After completing the workflow, confirm that /output/command_capture.txt exists and contains the captured output. Return a short confirmation summarising the exit status and file size.