Loading…
Wildcards let you match multiple files with a pattern instead of typing each name individually.
* — matches any number of characters: *.txt matches all .txt files? — matches exactly one character: file?.txt matches file1.txt, fileA.txt[abc] — matches one character from the set: file[123].txtls *.txt # list all .txt files
cp *.css backup/ # copy all CSS files to backup
rm temp_* # remove files starting with temp_
A directory contains a mix of files. Use ls with a wildcard pattern to list only the .log files. There should be 3 of them.
Loading terminal engine...
This may take a moment on first load