Beginners Learn the difference between Linux:&> and >

Source: Internet
Author: User
">" output redirect, using format:
Commands > Documents
Function: Redirects the standard output to a file and overwrites the contents of the file, which is called the callout output, and only outputs the correct command information to the file.
"&>" is also used as output redirection, using the format:
Commands &> Documents
The function:&> is different from the other, it can not only redirect the correct information output to the file, but also can redirect the wrong information output to the file.

Measured
! [] [(http://i2.51cto.com/images/blog/201805/25/5417f0a41d656cb5a994cbb9906de0ad.png?x-oss-process=image/ Watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=]

Beginners Learn the difference between Linux:&> and >

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.