The Guide shows you How to Getting-Started Locating/Finding/Searching for Files, Directories, Images and Paths on a Unix OpenBSD System.
Finally, the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.
-
Open a Terminal Window
(Press “Enter” to Execute Commands) -
Install the Needed Command Line Utility.
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
pkg_add -v -i pkglocatedb
Or:
pkg_add -v
/pkglocatedb[x.y.z].tgz OpenBSD How to Easy Find Repo URL for Installing New Packages:
OpenBSD Find Packages Repository -
Updating the locate Database
/usr/libexec/locate.updatedb
To Facilitate the Repetition and Memorization of this same Command:
ln -s /usr/libexec/locate.updatedb /usr/local/bin/updatedb
-
How to Automatically Update the locate Database.
-
Getting-Started Searching with the locate Command Line Tool.
Linux How to Use the locate Command