Output colored text in the shell using the echo commandNameecho-Displays a line of textProfileecho [Options] ... [String] ...DescribeOutputs a string to the standard output.-N does not output line breaks-E Open backslash ESC escape-e Suppress
Tlcl-view the world echo in shell eyes, tlcl-view echo
View the world in shell eyes
Echo-display a line of text
When you enter a command, bash expands the input characters before executing the command.
Expand path
Echo *
Shell expands * to the
First, familiarize yourself with the echo command
NameEcho-display a line of text
SummaryEcho [Option]... [String]...
DescriptionOutputs a string to the standard output.
-N does not output line breaks
-E open the backslash (ESC) Escape
-E cancel the
1. Our Baidu search or download "echo echo" in App Mall, then install echo echo in the phone after we click on this channel to add our own details as follows.
2. After entering the interface, we can click on the recording or the expression.
3.
Frequently-used commands echo, @, call, pause, and REM (TIPS: Use: instead of REM) are the most frequently-used commands for batch file processing. We started from them.
First, @ is not a command, but a special identifier for DOS batch processing.
one echo command output text
1.1 displaying normal strings
echo [Options] string
option means that the command option, only-n, does not output a newline character at the end of the line.
If the text you want to output is made up of multiple
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
echo command text in batch processing1. EchoDisplays the status of the current echo: echo on or Echo OFF2. ECHO onSetting the Echo status to on will display the command line, which is similar to the previous c:\> flag:3. ECHO OFFSetting the Echo
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 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.