If you can see this check that

           prev section up prev page next page

The Bracket ([]) Wildcard Character

The third type of wildcard is actually a pair of square bracket characters. This wildcard is an expansion matching any single character or range of characters separated with a dash ('-') listed within the brackets. For example

% ls *[2-4]
myfile2 myfile3 myfile4
or if you wish to be more specific:
% ls myfile[2-4]
myfile2 myfile3 myfile4

Notice the - character specifies a range. If you only wanted to list files that included the numbers 2 and 4 then you could type:

% ls myfile[24]
myfile2 myfile4


Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net fwall DNS diag Apache1 Apache2 MySQL1 MySQL2
Caine 2.0: Autopsy Cli PartRec Files FileRec Browser FFoxForensics Carving
Caine 2.5.1: Essentials | Basic | Search | SysIntro | 5a | 5b | 5c | 6 | 7 | 8a | 8b | 9a | 9b | 10
Useful: Quiz | Forums | Privacy Policy | Terms and Conditions
Site Links:XMLZoo ActiveSQL ProgZoo SQLZoo

Copyright @ 2004-2012 Gordon Russell. All rights reserved.