Thoughts on LS > C

Source: Internet
Author: User

About such a piece of code

[[email protected]] cd/mnt/

[[email protected]] ls

[[email protected]] touch a B

[[email protected]] ls

A b

[[email protected]] ls > C

[[email protected]] ls

A b C

[[email protected]] Cat C

A

B

C

You can see that the content of LS > c is a,b,c, instead of sending a A, b into the file C, so I think the implementation of the LS >c such a simple command, the system will first determine the correct LS command and C file is reasonable, if C does not exist, that will be Mr. C, then will execute LS, and the value of LS is fed into C at this time.

This article is from the "11827782" blog, please be sure to keep this source http://11837782.blog.51cto.com/11827782/1880211

Thoughts on LS > C

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.