find files by name in linux using locate command
purpose of locate command
This command finds files by name
USAGE of Locate command
OPTIONS of Locate command
it will locate all the files named file.txt in our system.
locate exits with status 0 if any match was found . If no match was found or a fatal error was encountered, locate exits with status 1.