Need help on some wildcard commands


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 !
azcalv408Asked:
Who is Participating?
 
twobitadderConnect With a Mentor Commented:
ls *[13579]* lists all with odd digits also.
0
 
HamdyHassanConnect With a Mentor Commented:

$ ls *[13]*







0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.