From ab28613e00b4dfcc122bb69a4570d5cc2bec7f24 Mon Sep 17 00:00:00 2001 From: lucky-vers Date: Tue, 24 Oct 2023 05:46:30 +0530 Subject: [PATCH] Add `c` descriptor --- Writeup - Week 1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Writeup - Week 1.md b/Writeup - Week 1.md index c76e459..a780af6 100644 --- a/Writeup - Week 1.md +++ b/Writeup - Week 1.md @@ -195,7 +195,7 @@ find / -size 33c -user bandit7 -group bandit6 2>/dev/null ``` - `/` tells find that we want to search the entire filesystem, i.e. the root directory, for the file. -- `-size 33c` means the file's size has to be exactly 33 bytes long. +- `-size 33c` means the file's size has to be exactly 33 bytes (`c`) long. - `-user bandit7` and `-group bandit6` filter for only those files owned by user bandit7 and group bandit6, respectively. - `2>/dev/null` removes any error messages that might show up while running the command, e.g. `permission denied` errors. `2` is the indicator for the error stream `stderr`, and `>/dev/null` means we are redirecting it to the null device, i.e. discarding its output.