Hands-on task
This task is step 25 of the course “Linux: everyday tasks”
Find large logs
Somewhere in /var/log/app there are .log files. Find all .log files larger than 1MB and save their paths (one per line) to /root/large_logs.txt.
What you'll practise:
- file search
- find
- -size/-name predicates
- output redirection