---

Search a file in Linux using Find & Locate command

One of the most annoying things according to me while managing servers is trying to search for a file in Linux servers. At one point or another, we are required to find a file?s location in a Linux server where you need to make changes or have to locate a file with logs, backup, etc.

In this tutorial, we will learn how to search a file in Linux, using the following two commands,

1- Find command

2- Locate command

Let?s discuss these two commands find / locate a file in Linux, one by one.