Shell Special Symbols

Source: Internet
Author: User

*-----Wildcard (multi-bit)

?-----wildcard character (one bit)

#-----Comment (Explanatory Note)

\-----caret (\ #1. txt, let #1.txt become a file name, so that the special symbol behind the loss of meaning)

|-----Give the result of one command to another command

$-----As a prefix for variables

!! ----represents the previous command

!$----Last parameter of the previous command

!950----Run No. 950 command

;-----The middle of two commands

~----User Home Directory

&-----Background Run

2>----Error Redirection

2>>----Error Append redirect

>-----Redirection

>>-----Additional redirects

[]-----indicates the range

&&-----The left command executes successfully before executing the command on the right

| | -----Left command does not execute successfully, the right command is executed

;:-----The command on the left executes successfully or not, subsequent commands will execute


Shell 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.