Shell (vii) wildcard characters and special symbols

Source: Internet
Author: User

1. Wildcard characters in the shell environment

* 0 to multiple arbitrary characters

? An arbitrary character

[] a character in parentheses

[-] All characters in the sequence

[^] a character, and a character that is not in parentheses

2. Special symbols

# comment Symbols

\ Escape Symbol

| Pipeline

; Continuous command delimiter

~ User home Folder

$ variable Leader

& Operation Control. Background work

! Logical operation "NON"

/directory symbol, PATH delimited

>> output data stream Redirect, replace, accumulate

<, << input data flow redirection

' Single quotation marks. Do not make variable substitution

"" double quotation marks. Variable substitution possible

"Two" ' is the middle of a command that can be executed first. function with $ ()

() "(" and ")" for the beginning and end of the shell

A command block combination between {} ' {' and '} '

Shell (vii) wildcard characters and special symbols

Related Article

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.