Linux wildcard knowledge in-depth explanation

Source: Internet
Author: User
Tags parent directory

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.