Linux Ubuntu locate Command Quick-Start
This short Tutorial will Get You Started with a Very Useful Linux Ubuntu Shell Utility: the locate Command.
Almost all we are working on linux before or after we need desperately to Find something from the Shell.
The Easiest and Fastest Way to Find System’s Entities in Unix-like Platforms is Matched Using the “locate” Shell Command.
Open a Shell session
Ctr+Alt+t to open a Terminal emulator on Desktop
(Press “Enter” to Execute Commands)
First Update the Locate Database:
If Got “User is Not in Sudoers file” then Look: Solution
You will need to Wait for a little while, depending from the Size of Your System, Until the Locate Database is Updated…
This procedure Should be Repeated Every Time you Use the locate Command after your System made some Significant Change.
How-to Automatically Update the locate Database with CronCronjob Setup for updatedb
Simple Keyword Searching
Whith the Syntax above you can Locate All Files, Directories, Images and Locations Containing the Given “myKeyword”
How-to Refine your locate Search-ResultsHow-to Use grep with locate
Tags: Bash, bash commands, bash shell, Command line, Console, gnu, gnu linux, gnu/linux, Guide, How-to, Install, konsole, Linux, linux bash, linux bash shell, linux command, linux command line, linux console, linux konsole, linux shell, linux terminal, Linux Tutorial, Shell, Terminal, Tutorial, Ubuntu, ubuntu guide, ubuntu linux, ubuntu tutorial