Swap * and ? in bash globbing sections to match with correct comments

Signed-off-by: valerionew <valerionappi995@gmail.com>
This commit is contained in:
valerio\new 2021-07-01 15:03:08 +02:00 committed by valerionew
parent 954f42c06a
commit 81ec32bfb9

View File

@ -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.