There is one file in one of the directory in my Unix. I don't remember the file name and location exactly, But i have some what idea about the file name.
Is it possible that the Unix can search that file in all directories and if any of the file name resemble that name i have given should display it
% ./s1
Environment: LC_ALL = C, LANG = C
(Versions displayed with local utility "version")
OS, ker|rel, machine: FreeBSD, 8.0-RELEASE, i386
bash GNU bash 4.0.33
locate - ( /usr/bin/locate, Nov 21 08:56:25 2009 )
/usr/home/drl/968.tar
Noting, however:
The locate program may fail to list some files that are present, or may
list files that have been removed from the system. This is because
locate only reports files that are present in the database, which is typ-
ically only regenerated once a week by the
/etc/periodic/weekly/310.locate script. Use find(1) to locate files that
are of a more transitory nature.
-- excerpt from man locate, q.v.
On GNU/Linux, the command updatedb can be used by root to refresh the database.