View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#6
To have some readable output file, pipe the du output through sort:
Code:
du -k /home | sort -nr > /home/user/MyDocs/.documents/mylist.txt
This will sort the output, largest folders first in the file mylist.txt in Documents folder.