Hands-on task
Which user is using up the space
The shared folder /srv/shared holds files of three users — alice, bob and carol. Find out which of them uses the most space: compare the total size (in bytes) of all their files across the whole tree, including subdirectories and hidden files. Write the user name to /root/answer.txt.
- find -printf
- file owner
- awk: summing
- hidden files
- disk usage analysis