What is a wildcard, and how can I use it? (2024)

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

Note: The Knowledge Base search does not permitwildcards.

A wildcard is a symbol that takes the place of an unknown character orset of characters. Commonly used wildcards are the asterisk(*) and the question mark (?). Depending onthe software or the search engine you are using, other wildcardcharacters may be defined.

When you are searching for files in Unix, DOS,or Windows, or on the web, you can simplify your search by using awildcard. Wildcards may also simplify commands issued from thecommand line in Unix or DOS.

The asterisk (*)

The asterisk represents any number of unknown characters. Use it whensearching for documents or files for which you have only partialnames.

For example, if you enter cheese* as your search term,the search might return these items:

 cheese cheesecake cheesedip.txt

If you enter *cheese as your search term, the searchmight return these items:

 stringcheese swisscheese sliced.cheese

For Unix or DOS, you can use the wildcard search in the command lineto list all the files with a particular extension. For example, if youwant to find all the files that end with .old, in DOS youcould enter your search as follows:

 dir *.old

Or, in Unix, you could enter:

 ls *.old

For most web search engines, wildcards increase the number of yoursearch results. For example, if you enter running as thesearch term, the search will return only documents with that oneword. If you search using run*, the search resultsmay contain run, runner, andrunning.

The question mark (?)

The question mark represents only one unknown character. Use it whenyou have a list of files with very similar names, or when you areunsure of a few characters.

For example, if you enter take?.txt as your search term,the search might return these files:

 take1.txt taken.txt take2.txt

However, it would not find take12.txt because thequestion mark only covers one character. To find two unknowncharacters, enter take??.txt as your search term.

Combining * and ?

You can use the asterisk (*) and the question mark(?) anywhere in a search, and you can also use themtogether. For example, if you want to find all the files that startwith home, followed by one or two characters, and endingwith any extension, enter home??.* as your searchterm. Your search might return home45.bak orhomer4.txt, but not homeloan.doc.

What is a wildcard, and how can I use it? (2024)
Top Articles
Can chia seeds be the superfood for weight loss? Know all about the right way to have them
What Is Encryption? Explanation and Types
Netronline Taxes
Victor Spizzirri Linkedin
Warren Ohio Craigslist
Trevor Goodwin Obituary St Cloud
12 Rue Gotlib 21St Arrondissem*nt
Practical Magic 123Movies
Bustle Daily Horoscope
Rainfall Map Oklahoma
What’s the Difference Between Cash Flow and Profit?
Used Wood Cook Stoves For Sale Craigslist
Everything You Need to Know About Holly by Stephen King
Zürich Stadion Letzigrund detailed interactive seating plan with seat & row numbers | Sitzplan Saalplan with Sitzplatz & Reihen Nummerierung
Leeks — A Dirty Little Secret (Ingredient)
Craiglist Kpr
使用 RHEL 8 时的注意事项 | Red Hat Product Documentation
Uta Kinesiology Advising
The Blind Showtimes Near Amc Merchants Crossing 16
Stoney's Pizza & Gaming Parlor Danville Menu
67-72 Chevy Truck Parts Craigslist
Www Va Lottery Com Result
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
Margaret Shelton Jeopardy Age
10 Best Quotes From Venom (2018)
WOODSTOCK CELEBRATES 50 YEARS WITH COMPREHENSIVE 38-CD DELUXE BOXED SET | Rhino
County Cricket Championship, day one - scores, radio commentary & live text
R/Orangetheory
Donald Trump Assassination Gold Coin JD Vance USA Flag President FIGHT CIA FBI • $11.73
Emiri's Adventures
Wbli Playlist
Tenant Vs. Occupant: Is There Really A Difference Between Them?
Oreillys Federal And Evans
AsROck Q1900B ITX und Ramverträglichkeit
Build-A-Team: Putting together the best Cathedral basketball team
Toonily The Carry
World History Kazwire
Frcp 47
Metro Pcs Forest City Iowa
Differential Diagnosis
Foxxequeen
Gli italiani buttano sempre più cibo, quasi 7 etti a settimana (a testa)
What is a lifetime maximum benefit? | healthinsurance.org
New Zero Turn Mowers For Sale Near Me
De boeken van Val McDermid op volgorde
Roller Znen ZN50QT-E
Diesel Technician/Mechanic III - Entry Level - transportation - job employment - craigslist
Epower Raley's
What Responsibilities Are Listed In Duties 2 3 And 4
Ranking 134 college football teams after Week 1, from Georgia to Temple
Latest Posts
Article information

Author: Stevie Stamm

Last Updated:

Views: 6136

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.