Find a file of a certain size

A file of a certain size, e.g. 1033 bytes, can be found in Linux with the command

find / -type f -size 1033c -exec ls {} ;

Instead of c for bytes you can also use k for Kilobytes, M for Megabytes and G for Gigabytes.

Find a file of a certain size
Share this