First page Back Continue Last page Image

Compare find and locate

Both of these commands are designed to help you find a file

find

locate

The find command will perform an exhaustive search of the area you specify. Depending on the search criteria this could take some time

The locate command uses the updatedb file which is updated several times a day to look for your file. It is faster but could miss recent files

find target-file

locate target-file