Example Analysis of wildcard characters in CentOS
This article is to share with you the content of the sample analysis of CentOS Chinese wildcards. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
*: match zero or more characters
? Match any single character
~: current user home directory
~ username: user's home directory
~ +: current working directory
~ -: last working directory
[0-9]: matches any range of numbers
[amurz]: match any lowercase letter (note: depending on the file system)
[Amurz]: matches any uppercase letter
[wxc]: matches any character w or x or c in the list
[^ wxc]: matches any character except all characters in the list except wxc
[: digit:]: any number equal to 0-9. Double square brackets must be added in use [: digit:]
[: lower:]: any lowercase letter, equivalent to amerz, with double square brackets in use [: lower:]
[: upper:]: any uppercase letter, equivalent to Amurz, with double parentheses [: upper:]
[: alpha:]: letters of any size
[: alnum:]: any number or letter
[: blank:]: horizontal white space character
[: space:]: all white space characters
[: punct:]: all punctuation marks
[: print:]: printable characters
[: cntrl:]: control (non-printing) character
[: graph:]: graphic character
[: xdigit:]: hexadecimal character b
Thank you for reading! This is the end of this article on "sample Analysis of CentOS Chinese wildcards". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!