From 1d44670284aff5f5a7711f2ba9f10c8cad18cc71 Mon Sep 17 00:00:00 2001 From: Anton Karmanov Date: Wed, 19 Jul 2023 08:23:10 +0300 Subject: [PATCH] locate: wrap glob with quotes (#10495) --- pages/linux/locate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/locate.md b/pages/linux/locate.md index 65f16ef5a..4571dc041 100644 --- a/pages/linux/locate.md +++ b/pages/linux/locate.md @@ -9,7 +9,7 @@ - Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as `*pattern*`): -`locate */{{filename}}` +`locate '*/{{filename}}'` - Recompute the database. You need to do it if you want to find recently added files: