Special character processing for Shell in Linux: In non-regular expressions, matching is not greedy: * match any string in the file name, including null string? Match any single character [a-z] in the file name... info & nbsp; | & nbsp; special character processing for Shell in Linux: In non-regular expressions, matching is not greedy: * matches any string in the file name, including null strings? Match any single character in the file name [a-z] to match any single character in [! A] match! Any subsequent characters> rewrite with redirection, New if not,> append the content <standard input 2> & 1, and output the error together. solve the problem of 1> a.txt 2> a.txt conflict 1> & 2 output the normal output together with the error. solve the problem of 1> a.txt 2> a.txt conflict. 0. M.txt redirects standard output to file m <&-disable standard input 2> &-disable error output. the same as 2>/dev/null $ () indicates execution () the statement <1.txt> 2.txt uses the 1.txt file as the standard input and uses the 2.txt file as the standard output. <filename uses the f I l e n a m e file as the standard input. <delimiter reads data from the standard input, until the d e l I m I t e r separator echo aa> temp.txt & let the command be executed in the background, that is, the echo aa> temp.txt 2> & 1 & the background execution is not displayed, and the error output of the standard output is redirected to temp.txt nohup command & the background execution exits account and continues ls [! 0-9] * display the ls ??? N * starts with a, followed by n
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