0. Preface This article summarizes how to use the echo command to write to a file, such as using the ECHO directive to overwrite the contents of a file, using the Echo directive to append content to a file, and using the Echo Directive to append
0. Preface This article summarizes how to write content to a file using the echo command, such as overwriting the contents of the file with the Echo directive, appending content to the file with the Echo directive, and appending tabs to the file
Turn from: http://blog.chinaunix.net/uid-28458801-id-3460227.html
Overlay writing (the original content in the file is covered) echo "AAA" > A.txtecho AAA > A.txtAdd style (The new content is added after the original content)echo "AAA" >> a.txtecho
The echo command for Linux, which is very common in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of EchoThe function of the echo command is to display a piece of text on the
The echo command for Linux, which is very common in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of EchoThe function of the echo command is to display a piece of text on the
Linux echo command learning function description: displays text. Syntax: echo [-ne] [String] or echo [-- help] [-- version] www.2cto.com. Note: echo sends the result string to the standard output by default. The output strings are separated by blank
0. PrefaceThis article summarizes how to use the echo command to write to a file, such as using the ECHO directive to overwrite the contents of the file, appending the content to the file using the Echo Directive, and appending tabs to the file
Linux echo command, linuxecho
This article is reproduced in: http://www.cnblogs.com/ZhangShuo/articles/1829589.html
Linux echo commands are very common in shell programming and are often used to print the variable value in the terminal. Therefore,
Linux View log file Contents command tail, Cat, TAC, head, EchoTail-f Test.logYou will see that the screen is constantly being printed out. This time interrupts the first process ctrl-c,---------------------------How Linux displays a few lines of a
The echo command of Linux, which is very commonly used in shell programming, is often used when printing variable value under a terminal, so it is necessary to understand the use of the following Echo
The function of the echo command is to display a
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.