Solved

Need help on some wildcard commands

Posted on 2004-04-24
2
396 Views
Last Modified: 2013-12-26

Hi,
I'm trying to learn how to use wildcards. Can someone tell me how do use wildcard to list all files with an odd digit in the filename? What if I want to list all files with number 1 or 3 in the filename ? Thanks !
0
Comment
Question by:azcalv408
2 Comments
 
LVL 9

Assisted Solution

by:HamdyHassan
HamdyHassan earned 30 total points
ID: 10911461

$ ls *[13]*







0
 
LVL 5

Accepted Solution

by:
twobitadder earned 30 total points
ID: 10912379
ls *[13579]* lists all with odd digits also.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 102
Pressing cancel button with C# UI Automation 3 90
Path of Workbook 3 86
moto 4g phone enable finger print 4 44
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question