If you need to search for one or more particular files, Linux systems have a few powerful methods for locating them, such as the find and locate commands. Searching for a file with a specific name can be done, but you can also search for files that follow certain naming patterns. This can be broadened all the way to finding files based on file size, file extension, or a lot of other options.
It’s also possible to find a particular directory or search for files based on their contents, such as finding all files containing a specific text, but we cover those topics in separate guides.
In this tutorial, you’ll learn how to find a file in Linux by using the command line and GUI. Let’s get started.
In this tutorial you will learn:
- How to find a file in Linux via command line
- How to find a file in Linux via GUI