Skip to main content

Questions tagged [locate]

The tag has no usage guidance.

0 votes
1 answer
33 views

Using mlocate to search on multiple systems in parallel

I often need to search files on different systems, without knowing on which system the file I'm looking for is located. Is it possible to search with mlocate on multiple systems in parallel? By ...
Chris9834's user avatar
  • 175
1 vote
1 answer
679 views

Running updatedb as a nomal user (using the plocate package)

I want a normal user to be able to update the database used by the locate command in Linux. With the previous version of locate (provided by the package mlocate), I achieved this by adding the ...
scaramouche's user avatar
0 votes
1 answer
2k views

Enable updatedb for mlocate in CentOS or RHEL

Even if the mlocate package is installed with dnf install mlocate the updatedb command is not scheduled to run. That means locate <filename> return empty results. How do you enable updatedb to ...
sastorsl's user avatar
  • 171
0 votes
1 answer
2k views

Unable to locate package neofetch on apt install neofetch

I'm trying to install neofetch on a Linux server running Debian 8, I'm already on root, I type apt install neofetch but it returns E: Unable to locate package neofetch. I tried apt-get install ...
Hamza's user avatar
  • 1
1 vote
0 answers
352 views

locate.updatedb not indexing ~/Library

I know there's a file deep in ~/Library called index.js. I can find it with the find command find ~/Library -name "index*"(it actually finds a lot of similarly named files). However when I ...
The Lost Kitten's user avatar
6 votes
1 answer
6k views

locate command does not work on mac terminal

I'm working on Mac (Catalina, 10.15.7) and want to use the locate <...>-command. After typing locate ... it suggested me the following, which I did. WARNING: The locate database (/var/db/locate....
NilsK's user avatar
  • 165
0 votes
1 answer
731 views

WSL - updatedb (mlocate) is not indexing Windows directories

I cannot search for Windows files using locate. Updatedb is not indexing directories from /mnt/c
Maciej Bledkowski's user avatar
20 votes
1 answer
6k views

What makes 'locate' so fast compared with 'find'?

In my mind, both locate and find finds a file, but why does locate run so fast? According to its documentation, locate: DESCRIPTION locate reads one or more databases prepared by updatedb(8) and ...
Tiina's user avatar
  • 3,207
10 votes
2 answers
99k views

Where is Microsoft Teams application located on my Windows 10 Computer?

From the 'tray icon' I chose to disable "start Teams on startup" but now I can't find the application. It's not in Programs Files > Microsoft [neither in Program Files (x86)]. It's not in ...
Kostas Gogas's user avatar
0 votes
1 answer
44 views

How to cancel the reference by locate?

My os info: uname -a Linux mydebian 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux There is no /usr/share/vim in the os,it is my first time(never install before) to install ...
showkey's user avatar
  • 171
3 votes
2 answers
385 views

mdfind command on Debian Buster 10 but can't build index

I have installed the mdfind package mdfinder.app_0.9.4-1+b2_amd64.deb on Debian 10 Buster. The command mdfind comes classically from MacOS X but when I did an apt-cache search mdfind, I got this ...
user avatar
1 vote
1 answer
1k views

How to find all files,with substring, e.g. xyz (caseinsensitive) in filename within particular type (*.txt) using linux command line?

I have some bunch of files, which has "xyz" in the filename, This "xyz" can be case insensitive, e.g. "XYz" or "xYz". Wish to display all possible combination of the files in from current working node
Adsignals's user avatar
0 votes
1 answer
67 views

Find system sounds in a software

I am using the Wondershare Filmora 9 video editor software on my Windows 10 laptop and I would like to locate and replace the default "Notify me when Video Conversion is Done" sound as I can barely ...
George's user avatar
  • 1
2 votes
1 answer
428 views

the `locate` command (Linux) doesn't show any files in homedirectory

System: Debian Sid Problem: The locate command only returns files that exist outside my (the user's) home directory. This behaviour is new and was probably introduced through some package upgrade. ...
xxm's user avatar
  • 137
0 votes
0 answers
125 views

Locate database must always be updated before search

I've noticed lately that when I run locate [something] it will always fail, even if I know the files are there (and I've seen them through a call to locate previously). I have to run updatedb before ...
Brydon Gibson's user avatar

15 30 50 per page