How-to QuickStart Search / Find for Files / Directories on Debian Linux

July 5th, 2016 by thelinuxevangelist

How-to Locate Files/Directories on Debian Shell

Hello Debian User! This Tutorial Shows You Step-by-step How-to Getting-Started Easily Finding/Searching/Looking for Files, Directories and Paths on Debian 7-Wheezy/8-Jessie/9-Stretch/10-Buster 32/64bit Desktops/Servers.

To try to Find the stuff in Debian we will make use of the Shell commands updatedb and locate.

updatedb creates or updates a database used by locate. If the database already exists, its data is reused to avoid rereading directories that have not changed.

updatedb is usually run daily by cron to update the default database.

Search / Find for Files and Directories on Debian Linux - Featured
  1. Open a Shell session
    (Press “Enter” to Execute Commands)

    Search / Find for Files and Directories on Debian Linux - Debian Gnome3 Open Terminal
  2. Install the mlocate Package:

    sudo apt-get install mlocate

    If not Found then before Update the Apt database with:

    sudo apt-get update

    If Got “User is Not in Sudoers file” then Look: Solution

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

Share on Tumblr

Tags: , , , , , , , , , , , , , , ,

Comments are disabled