Linux Commands - find command - Exclude file systems from search (-xdev)

by
Jeremy Canfield |
Updated: November 08 2022
| Linux Commands articles
If you are not familiar with the find command, check out our Getting Started article.
If you have another file system mounted, the -xdev option can be used to only search for files and directories in the current file system.
find / -xdev
Did you find this article helpful?
If so, consider buying me a coffee over at