Solved

Need help on some wildcard commands

Posted on 2004-04-24
2
392 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now