Simplify glob expression

Signed-off-by: O <herrcykel@users.noreply.github.com>
This commit is contained in:
O 2022-05-03 21:38:31 +02:00 committed by Olle Nilsson
parent c2b96736bd
commit 8ab7cf7a6d

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