HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

plocate — Find filenames quickly. Make sure to run `sudo updatedb` to include new files. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilenamesfindquicklycliplocatesuremake

Problem

How to use the plocate command: Find filenames quickly. Make sure to run sudo updatedb to include new files. More information: <https://plocate.sesse.net/plocate.1.html>.

Solution

plocate — Find filenames quickly. Make sure to run sudo updatedb to include new files. More information: <https://plocate.sesse.net/plocate.1.html>.

Look for patterns in the database (recomputed periodically):
plocate {{pattern}}


Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as pattern):
plocate */{{filename}}

Code Snippets

Look for patterns in the database (recomputed periodically)

plocate {{pattern}}

Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`)

plocate */{{filename}}

Context

tldr-pages: common/plocate

Revisions (0)

No revisions yet.