As a Linux Systems Administrator or a regular linux user, you usually encounter situations that call for searching
the file system to locate files or logs greater than, less than or within a given range. Log management is one of
the many responsibilities here. This is a collection of single one liners for specific find tasks
G => for gibibytes
M => for megabytes
K => for kibibytes
b => for bytes
find <directory/path> -type f -size +N<Unit Type>
find ~/ -type f -size +3G
find ~/dataDrive/ -type f -size +3G -exec ls -lh {} \; | awk '{ print $9 "|| Size : " $5 }'
find ~/dataDrive/ -type f -size +300M -exec ls -lh {} \; | awk '{ print $9 "|| Size : " $5 }'
find ~/ -type f -size -3G
find ~/dataDrive/iso_files/ -type f -size +1G -size -3G
find ~/dataDrive/iso_files/ -type f -size +1G -size -3G -exec ls -lh {} +