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: