Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Linuxnewbie.org: Globbing on the Command Line

Jan 12, 2000, 15:27 (5 Talkback[s])
(Other stories by Devin Carraway)

[ Thanks to Sensei for this link. ]

"This article explains the details of referring to multiple files on the command line using wildcards -- particularly the places where the UNIX wildcards differ from the simpler wildcards used by DOS and Windows."

"This article assumes you know how to access the command line, and are familiar with the meanings of files and directories. The commands ls(1), cp(1) and mv(1) (list files, copy files, and move files, respectively) are used as examples -- it's helpful if you know what they do, or have read their manpages. The differences between the Linux shell and the DOS command line are explained, but DOS experience isn't really required...."

"Globbing" is like a lot of terms you hear from UNIX users -- it sounds amusing, but it's meaning isn't necessarily apparent. Actually, globbing isn't something you yourself need to do -- it's something you get to tell the shell (e.g. bash or csh) to do for you. Globbing is done when you specify filenames using "wildcard" contractions to refer to more than one file using a shorter form for them on the commandline...."

Complete Story

Related Stories: