> For the complete documentation index, see [llms.txt](https://evansastre.gitbook.io/srvops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://evansastre.gitbook.io/srvops/linux/linux-fundamental/basic-shell-command/wildcards.md).

# wildcards

```
* - matches zero or more characters
a*.txt
? - matches exactly one character
?.txt
a?
a?.txt

[] - a character class
ca[nt]*
- can
- cat
- candy
- catch

[!] - not include 
ca[t]*
- can
- candy

[a-g]*
matches all files that start with a,b,c,d,e,f,g
[3-6]*
matches all files that start with 3,4,5,6

predefined named character classes
[[:alpha:]]
[[:alnum:]]
[[:digit:]]
[[:lower:]]
[[:space:]]
[[:upper:]]

\ - escape character
*\?
  - done?
  
  
```

```
* 
```
