Linuxexec file redirection

Source: Internet
Author: User
Linuxexec file redirection exec command: execls is executed in shell. After ls is completed, it does not return exec & lt; in the original shell; file uses the content in the file as the exec standard input exec & gt; file writes the content in the file as the standard exec3 & lt; file reads the file into fd3... linux exec file redirection exec command function exec ls execute ls in shell. After ls is completed, it does not return exec in the original shell. File: write the content in the file as the standard exec 3 <&3 fd3中读入的内容被分类 exec 4> File: writes the content written to fd4 to the file. the ls> & 4 Ls will not be displayed and will be directly written to fd4, in the above file, copy fd5 exec 3 from exec 5 <& 4 to create fd4 <&-disable fd3

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.