From 2a19d8db59a076485e51e2ede06ebf2cde244495 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 23 Dec 2024 19:10:31 +0200 Subject: [PATCH] lsfd: add longform options (#15291) Update lsfd.md --- pages/linux/lsfd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/lsfd.md b/pages/linux/lsfd.md index 97063344dc..0508b2466a 100644 --- a/pages/linux/lsfd.md +++ b/pages/linux/lsfd.md @@ -9,11 +9,11 @@ - List all files kept open by a specific program: -`lsfd -Q 'PID == {{process_ID}}'` +`lsfd {{-Q|--filter}} 'PID == {{process_ID}}'` - Check what program has a specific file open: -`lsfd -Q "NAME == '{{/path/to/file}}'"` +`lsfd {{-Q|--filter}} "NAME == '{{/path/to/file}}'"` - List open IPv4 or IPv6 sockets: