Linuxnewbie.org: Globbing on the Command Line | Linux Today

Linuxnewbie.org: Globbing on the Command Line

Written By
Web Webster
Web Webster
Jan 12, 2000

[ 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

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.