If you can see this check that

next section            up prev page next page

The * Wildcard

The * wildcard means 'any characters, including no characters'. For example, suppose we have created the following files in our current working directory:

% ls
myfile myfile2 myfile3 test yourfile

To list only the file names beginning with 'myfile', we could type

% ls myfile*
myfile myfile2 myfile3
Even though test and yourfile exist, ls displayed only the file names that start with 'myfile'. If we wanted to list the file names containing 'file', we could type:
% ls *file*
myfile myfile2 myfile3 yourfile

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 |
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-2023 Edinburgh Napier University