Just how to Find a documents in FreeBSD
If you've obtained situate (also known as slocate) mounted, after that
locate example.filename
situate runs a cron work every evening that reindexes all the files on your equipment. It's not constantly approximately day therefore.
If you have the situate data source up - to - day, after that simply:
locate example.filename
locate filename
Much faster than find
, if you're running the situate solution, and also it just locates files that existed at the time updatedb
last ran (usualy the evening befor under the control of a cron work).
You can run updatedb
by hand, yet that is also slower than the , and also calls for origin. I occasionally upgrade the data source by hand after mounting a number of new things.
Sometimes you intend to find files at a details directory site degree. In this instance it can be hassle-free to make use of covering wildcards:
ls /data/*/example.filename
Obviously this just functions if you have an inflexible directory site framework.
Related questions