Merge pull request #22 from herrcykel/patch-1

Simplify glob expression
This commit is contained in:
Bonnie I-Man Ng 2022-05-08 00:58:25 +08:00 committed by GitHub
commit b07665cb43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ sudo !!
ls -l [a-z]* #list all files with alphabet in its filename.
# {} can be used to match filenames with more than one patterns
ls {*.sh,*.py} #list all .sh and .py files
ls *.{sh,py} #list all .sh and .py files
```
##### Some handy environment variables