From dc314c6ef2d14d188e53c102b5aa8c2d50c54990 Mon Sep 17 00:00:00 2001 From: Suyash Bhawsar Date: Tue, 4 Oct 2022 02:33:53 +0530 Subject: [PATCH] plocate: add page (#8541) --- pages/common/plocate.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pages/common/plocate.md diff --git a/pages/common/plocate.md b/pages/common/plocate.md new file mode 100644 index 000000000..60f986480 --- /dev/null +++ b/pages/common/plocate.md @@ -0,0 +1,13 @@ +# plocate + +> Find filenames quickly. +> Make sure to run `sudo updatedb` to include new files. +> More information: . + +- 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}}`