Below are two commands to sort files in UNIX:
du -xak . | sort -n | tail -100
it finds me the biggest 100 files or directories on the filesystem I’m in
If you want to see which sub-directory of your home directory is the largest, go to your home directory and enter,
du -sk *
du -xak . | sort -n | tail -100
it finds me the biggest 100 files or directories on the filesystem I’m in
If you want to see which sub-directory of your home directory is the largest, go to your home directory and enter,
du -sk *
Post a Comment
Any difficult to understand and implement this then don’t hesitate to ask me via comments Your comments are always appreciated except spam.