How to restrict find command within current filesystem?

Use the below command to find files above 200M in / or in /opt. You can specify certain file system on the command line replacing / or /opt/

# find / -xdev -size +200M

# find /opt -xdev -size +200M

Leave a Reply