.
# Find the largest directories in your home
du -h --max-depth=1 ~ | sort -rh | head -20
# Find the largest files
find ~ -type f -exec du -h {} \; | sort -rh | head -20
# Alternatively for a cleaner view of largest files
find ~ -type f -size +100M -exec ls -lh {} \; | sort -k 5 -rh | head -20
..
Thank you
No comments:
Post a Comment