back to labs
Dojo: Find the Big Logs
MediumOne-Liner Dojo10 minThe brief
Somewhere under /root/tree are log files of various sizes. In ONE line, list the paths of every *.log file LARGER than 1 KiB into /root/answer.txt: one full path per line (starting /root/tree/…), sorted.
This is a job for find — it filters the filesystem by name AND size at once. grep can't help here; nothing is being searched inside.
What you'll do
- Write the sorted paths of all *.log files over 1 KiB under /root/tree to /root/answer.txt, in one line
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
