Finding big files
The following command will display all files that are in the megabyte range.
$ du -sh * | grep "^[0-9]*M"
The next command will display all files that are in the gigabyte range.
$ du -sh * | grep "^[0-9]*G"
If you're looking for something like kilobytes or petabytes ... etc, just substitute the M or G with the corresponding character. K is for kilobytes. I'm not sure of the others. Probably P for peta, and T for terabytes.
Also See
[Click to add or edit comments])
Please prepend comments below including a date