Note: The Linux wildcard conforms to the Three Musketeers (grep,awk,sed) Regular expression is not the same, therefore, the meaning of the Representative is also
There's a big difference.
Wildcard characters General user commands bash environment, while Linux regular expressions are used for grep,sed,awk scenes.
*-wildcard character, which represents any (0 to more) characters
? -wildcard character, representing any 1 characters
;-delimiter for successive different commands
#-Configuration file comments
| -Piping
~-User's home directory
--Last Catalog
$-the symbol to be added before the variable
/-Path split symbol
> or 1>-redirect, overlay
>>-Append redirect, append.
<-input redirect
<<-Append input redirection
'-single quotes, no variable substitution function, output is WYSIWYG.
"-double quotes, with variable substitution function, output after parsing the variable, and no quotation marks equivalent to double quotes. Commonly used double quotes.
'-Tab key above, anti-quote, two ' middle command, will be executed first, equivalent $ ().
{}-Middle is a command block combination or content sequence
! -"Non" (not) in logical operation
&&-and when an instruction executes successfully, the following command is executed
|| -Or, when a command execution fails, the following command is executed
.. -Parent Directory
. -Current Directory
This article is from the "Blossom as ever" blog, please be sure to keep this source http://sunrisenan.blog.51cto.com/10217407/1945650
Linux wildcard knowledge in-depth explanation