Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Wildcard

Symbol used to replace or represent one or more characters. Wildcards or wild characters are commonly either an asterisk (*) or question mark (?). Below are some examples of how a wildcard may be used:

Listing files in a Linux variant or Unix variant that begin with comp:

ls comp*

Deleting files in MS-DOS that begin with comp and end with a .txt extension:

del comp*.txt

Listing files in MS-DOS that contain c, mp and any other character in-between:

dir c?mp

Deleting files in a Linux or Unix variant that contain c, mp and any character in-between:

rm c?mp

Searching for a file that has comp anywhere in the file name in Microsoft Windows 95 and above:

Click Start / Find or Search
Click for files or folders
In the files or folders named text box, type "*comp*"
Specify the location to search for the file and click Find or Search now.

Also see: Asterisk, Glob, Meta-character

 

Index

Category:
Dictionary

Related Pages:
W - Definitions

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope