In the previous examples, you used the find command to search for a file based on a specified location and to find a file based on its creation date. Both are good examples of searching for a good reason—you don't know where the file is! But why would you search for a file by its size? It may be easy to remember a name or when you worked on a file, but its size?
Believe it or not, there will be many times when you need to search a system for a file by its size. One great example is if you are a web designer and have large graphics files on your Unix system. Here, it's a great bet that these files will be larger than your word processor documents or spreadsheets.
To search by size, use the following steps: