-* (Asterisk): Any character string of 0 or more characters (Example) file *
(All files with the first 4 characters written as file)
-?: Any one character (example) f? Le *
(all files in the shape of f ○ le regardless of the second character)
-[]: Any character in [file]
(either f, i, l, or e)
-{}: Any of the comma-separated strings in {} (example) {file, list, dir}
(either file or list)
Expanding using these ,?, [] Is called "* path name expansion ", and expanding using {} is called " brace expansion **".
Recommended Posts