WILDMASKS

Can use wildmasks for matching patterns in filenames; expand into a list of all filename matches. E.g.:
      * matches any string
      ? matches any one character
      [abgj] matches any one character in this range/list
$ ls
  sub1_t1.nii.gz sub1_t2.nii.gz sub2_t1.nii.gz sub2_t2.nii.gz sub3_pd.nii.gz
$ ls sub*
  sub1_t1.nii.gz sub1_t2.nii.gz sub2_t1.nii.gz sub2_t2.nii.gz sub3_pd.nii.gz
$ ls sub1*
  sub1_t1.nii.gz sub1_t2.nii.gz
$ ls sub*t1*
  sub1_t1.nii.gz sub2_t1.nii.gz
$ ls sub[13]*
  sub1_t1.nii.gz sub1_t2.nii.gz sub3_pd.nii.gz
$ ls sub?_t2.nii.gz
  sub1_t2.nii.gz sub2_t2.nii.gz