In bash, you use the bracket extension if you want to create a range, for example
for r in {0..100}
for r in {0..10..2} # in increments of 2
for z in {a..z}
Instead of using external commands like seq 0 100 . In addition, the list extension can be used to display file types, for example
for file in *.{txt,jpg} .
All files with txt and jpg extensions are listed in this list.
ghostdog74
source share