From b89a113b14d9493f44c95fc71eeb6cdf90b4ec8e Mon Sep 17 00:00:00 2001 From: Kristopher Date: Tue, 15 Jul 2025 11:32:18 -0700 Subject: [PATCH 1/6] Create slocate.md --- pages/common/slocate.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/common/slocate.md diff --git a/pages/common/slocate.md b/pages/common/slocate.md new file mode 100644 index 00000000000000..f2c4a957eef3d6 --- /dev/null +++ b/pages/common/slocate.md @@ -0,0 +1,37 @@ +# slocate + +> Secure variant of GNU Locate. +> See also 'locate'. +> More information: . + +- Enable quiet mode to suppress error messages: + +`slocate -q` + +- Limit the number of results shown: + +`slocate -n {{number}}` + +- Build an `slocate` database starting at path `/`: + +`slocate -u` + +- Build an `slocate` database starting at a given directory: + +`slocate -U {{path/to/directory}}` + +- Update an `slocate` database using the default `/etc/updatedb.conf` configuration: + +`slocate -c` + +- Set the security level of `slocate`, with `0` being disabled, and `1` being secure: + +`slocate -l {{[0|1]}}` + +- Specify the database that `slocate` should search in: + +`slocate {{[-d|--database]}} {{path/to/directory}}` + +- Search the `slocate` database using a specific `regular expression`: + +`slocate {{[-r|--regexp]}} {{regularexpression}}` From baedb0c3fd82eeeaa4ebe544f97a4a77f809d2e2 Mon Sep 17 00:00:00 2001 From: Kristopher Date: Wed, 16 Jul 2025 11:23:46 -0700 Subject: [PATCH 2/6] Update pages/common/slocate.md Co-authored-by: Wiktor Perskawiec --- pages/common/slocate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/slocate.md b/pages/common/slocate.md index f2c4a957eef3d6..5c819f45c70162 100644 --- a/pages/common/slocate.md +++ b/pages/common/slocate.md @@ -1,7 +1,7 @@ # slocate > Secure variant of GNU Locate. -> See also 'locate'. +> See also: `locate`. > More information: . - Enable quiet mode to suppress error messages: From 7e477da4a4846293a3acfb2cf0706f956f2cc4ba Mon Sep 17 00:00:00 2001 From: Kristopher Date: Wed, 16 Jul 2025 11:24:02 -0700 Subject: [PATCH 3/6] Update pages/common/slocate.md Co-authored-by: Wiktor Perskawiec --- pages/common/slocate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/slocate.md b/pages/common/slocate.md index 5c819f45c70162..4462e232a21aee 100644 --- a/pages/common/slocate.md +++ b/pages/common/slocate.md @@ -34,4 +34,4 @@ - Search the `slocate` database using a specific `regular expression`: -`slocate {{[-r|--regexp]}} {{regularexpression}}` +`slocate {{[-r|--regexp]}} {{regular_expression}}` From 935f489d0007e10d22b276aabe873e4a810eef98 Mon Sep 17 00:00:00 2001 From: Kristopher Date: Thu, 24 Jul 2025 11:19:45 -0700 Subject: [PATCH 4/6] Update slocate.md --- pages/common/slocate.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/slocate.md b/pages/common/slocate.md index 4462e232a21aee..3648d9ab86ce9e 100644 --- a/pages/common/slocate.md +++ b/pages/common/slocate.md @@ -32,6 +32,6 @@ `slocate {{[-d|--database]}} {{path/to/directory}}` -- Search the `slocate` database using a specific `regular expression`: +- Search the `slocate` database using a specific `regex` string: -`slocate {{[-r|--regexp]}} {{regular_expression}}` +`slocate {{[-r|--regex]}} {{regex}}` From cae8e23d647cf6f2119fcdaaff68577c03e10367 Mon Sep 17 00:00:00 2001 From: Kristopher Date: Sat, 26 Jul 2025 14:45:24 -0700 Subject: [PATCH 5/6] Update pages/common/slocate.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/slocate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/slocate.md b/pages/common/slocate.md index 3648d9ab86ce9e..6b81fb5d475a4d 100644 --- a/pages/common/slocate.md +++ b/pages/common/slocate.md @@ -26,7 +26,7 @@ - Set the security level of `slocate`, with `0` being disabled, and `1` being secure: -`slocate -l {{[0|1]}}` +`slocate -l {{0|1}}` - Specify the database that `slocate` should search in: From 4dd9dea512b56682682bbd8a010e1a4de35ba81d Mon Sep 17 00:00:00 2001 From: Kristopher Date: Sat, 26 Jul 2025 14:46:18 -0700 Subject: [PATCH 6/6] Update slocate.md --- pages/common/slocate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/slocate.md b/pages/common/slocate.md index 6b81fb5d475a4d..7db78cc2de8546 100644 --- a/pages/common/slocate.md +++ b/pages/common/slocate.md @@ -34,4 +34,4 @@ - Search the `slocate` database using a specific `regex` string: -`slocate {{[-r|--regex]}} {{regex}}` +`slocate {{[-r|--regexp]}} {{regex}}`