Thread: Wildcards
View Single Post
  #4 (permalink)  
Old 25-Aug-2008, 11:04
Solar_Granulation Solar_Granulation is offline
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 21
Solar_Granulation hasn't been rated much yet
Default Re: Wildcards

There are quite a few options for wildcards in Bash. I'm not sure how comprehensive this list is, but it's at least a starting point:

* (asterisk) zero or more characters

? (question mark) one character

[abcde] - any one of the character from the contents of square brackets

[a-e] - any one character in the range defined either side of the dash within square brackets

[!abcde] or [!a-e] modifies the two previous examples with "not"

{suse,linux} any one string from the options listed in curly brackets
Reply With Quote