Skip to content

Commit 0640905

Browse files
authored
Merge pull request #18 from kraker/issue-17-mlocate
mlocate package deprecated in favor of plocate #17
2 parents f0d1df5 + 1755390 commit 0640905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you're looking for a file called `access.log` then the quickest approach is t
3434
/var/log/apache2/access.log.1
3535
/var/log/apache2/access.log.2.gz
3636

37-
(If `locate` is not installed, do so with `sudo apt install mlocate`)
37+
(If `locate` is not installed, do so with `sudo apt install plocate`)
3838

3939
As you can see, by default it treats a search for _"something"_ as a search for _"\*something\*"_. It’s very fast because it searches an index, but if this index is out of date or missing it may not give you the answer you’re looking for. This is because the index is created by the `updatedb` command - typically run only nightly by `cron`. It may therefore be out of date for recently added files, so it can be worthwhile updating the index by manually running: `sudo updatedb`.
4040

0 commit comments

Comments
 (0)