Hands-on task
find -maxdepth: no descending into subdirectories
/root/etc has .conf files both at the top level and in the nested sub/ directory. Find .conf files only at the top level (without descending into subdirectories) and write their paths (/root/etc/…) to /root/top.txt.
- find
- -maxdepth
- traversal depth
- -name