find files by name in linux using locate command

Locate command

purpose of locate command

This command finds files by name

USAGE of Locate command


usage of locate command

OPTIONS of Locate command

Options in locate command





Example 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.




Please enter your comment!
Please enter your name here