TERMINAL ENVIRONMENT: Ubuntu 24.04 with bash, git, curl, wget, Python 3.10, pip, coreutils, and build-essential.
Goal
Clear the current shell history, create a small file containing two sample shell commands, load those commands into the session history, and print the last few history lines. Save both stdout and stderr from this operation into a capture file for inspection.
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.