This is an old revision of the document!


Globbing is the procedure of

  • matching all filenames against a given pattern
  • expanding to all matching filenames

Unlike MSDOS, where the called program had to interpret the patterns, the globbing on UNIX® is done by the shell, the matched filenames are given as parameters to a called command:

$ cat *.txt
really executes
$ cat 1.txt 3.txt foobar.txt XXX.txt

See also (article)

This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
You could leave a comment if you were logged in.
  • dict/terms/globbing.1235456736.txt
  • Last modified: 2010/12/17 03:11
  • (external edit)