OpenBSD Unix How to Getting Started Searching/Looking for Files/Directories/Images/Paths Easy Guide

December 22, 2012 | By Duchateaux.

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.

LilasToy OpenBSD
  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)

  2. 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
  3. 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

  4. How to Automatically Update the locate Database.

  5. Getting-Started Searching with the locate Command Line Tool.


QuickChic Theme • Powered by WordPress