From 81ec32bfb9a22c608be11d35aeeecd7bf2f74507 Mon Sep 17 00:00:00 2001 From: "valerio\\new" Date: Thu, 1 Jul 2021 15:03:08 +0200 Subject: [PATCH] Swap * and ? in bash globbing sections to match with correct comments Signed-off-by: valerionew --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4be3afe..3d872c9 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,10 @@ sudo !! ##### Bash globbing ```bash # '*' serves as a "wild card" for filename expansion. -/b?n/?at #/bin/cat +/etc/pa*wd #/etc/passwd # '?' serves as a single-character "wild card" for filename expansion. -/etc/pa*wd #/etc/passwd +/b?n/?at #/bin/cat # ‘[]’ serves to match the character from a range. ls -l [a-z]* #list all files with alphabet in its filename.