From 5bc1dfb9edc4e159f47516b17abb9ec9937d01af Mon Sep 17 00:00:00 2001 From: Prateek Kumar Nischal Date: Mon, 3 Oct 2022 17:31:45 +0530 Subject: [PATCH] getcap: add -r example (#8691) --- pages/linux/getcap.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/getcap.md b/pages/linux/getcap.md index b83819084..a39708f77 100644 --- a/pages/linux/getcap.md +++ b/pages/linux/getcap.md @@ -7,6 +7,10 @@ `getcap {{path/to/file1 path/to/file2 ...}}` +- Get capabilities for all the files recursively under the given directories: + +`getcap -r {{path/to/directory1 path/to/directory2 ...}}` + - Displays all searched entries even if no capabilities are set: `getcap -v {{path/to/file1 path/to/file2 ...}}`