Low-Level DesignReported in a candidate post, Feb 2021
Write a shell script to generate report of top space-consuming workspaces
Filed under Amazon
The question
Explain your latest automation task from scratch and how it can be improved. Write a shell script to process a log file and search for specific error codes using debugging prints, and another shell script to generate a report on the top 10 space-consuming folders using df and du commands.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.