Hands-on task
This task is step 2 of the course “find and xargs: search and bulk operations”
find: directories only
Output the paths of all directories inside /root/tree (including /root/tree itself), sorted, to /root/dirs.txt.
What you'll practise:
- find
- -type
- filter by type
- directories
- sort