If you can see this check that
prev section | up | prev page | next page |
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 myfile4or 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
Centos 7 intro: | Paths | BasicShell | Search |
Linux tutorials: | intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 SELinux2 fwall DNS diag Apache1 Apache2 log Mail |
Caine 10.0: | Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Mock Exam | |
Caine 13.0: | Essentials | Basic | Search | |
CPD: | Cygwin | Paths | Files and head/tail | Find and regex | Sort | Log Analysis |
Kali: | 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 | |
Kali 2020-4: | 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7 | 8a | 8b | 9 | 10 | |
Useful: | Quiz | Forums | Privacy Policy | Terms and Conditions |
Linuxzoo created by Gordon Russell.
@ Copyright 2004-2024 Edinburgh Napier University