Linux CLI - Process Management
You want to create a script that runs
top for 10 seconds, saves the output to a file, and then exits. Which command achieves this?