Home > System Tutorial > LINUX > Explain how to use CentOS file wildcards

Explain how to use CentOS file wildcards

王林
Release: 2023-12-29 23:41:38
forward
1345 people have browsed it

*: Match zero or more characters

? : Matches any single character

~: Current user home directory

~username: user home directory

~: Current working directory

~-: Previous working directory

[0-9]: Match any number range

[a-z]: Match any lowercase letters (Note: Depends on the file system)

[A-Z]: Match any uppercase letters

[wxc]: Match any character w or x or c

in the list

[^wxc]: Match all characters in the list except any characters except wxc

[:digit:]: Any number, equivalent to 0-9, double square brackets [[:digit:]] must be added when using it

[:lower:]: Any lowercase letter, equivalent to a-z, double brackets [[:lower:]]

must be added when using

[:upper:]: Any uppercase letter, equivalent to A-Z, double square brackets [[:upper:]] must be added when using it

[:alpha:]: letters of any size

[:alnum:]: Any number or letter

[:blank:]: horizontal blank character

[:space:]: All whitespace characters

[:punct:]: All punctuation marks

[:print:]: Printable characters

[:cntrl:]: Control (non-printing) characters

[:graph:]:Graphic characters

[:xdigit:]: Hexadecimal character b

The above is the detailed content of Explain how to use CentOS file wildcards. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jb51.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template