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
Ladies and gentlemen, crossing, the last time we talked about the example of a built-in macro, this time we say the example is: turn off the echo function in the terminal . Gossip Hugh, words return to the positive. Let's talk C chestnuts
Copy codeThe Code is as follows:Echo "asd"; // stringEcho "ads $ c"; // string + variableEcho 'ads $ C'; // string asd $ c is not a variableEcho "sd". "";Echo "sd", "";Echo $;Echo $ a. $ B;Echo $ a, $ B;Echo $ a. $ B. $ c;Echo $ a, $ B, $ c;Echo
Install Nginx-echo module in Nginx
Nginx-echo can be used to output some information in Nginx. It is a good tool for testing troubleshooting. It can also make a summary of the information from different link addresses. In short, it can help
? PHP'sEcho's "Hello World";
echo "This crossesMultiRow New GuildOutput and ";
echo "This span nmultiple line. Change Guild Noutput same. ”;
echo "Escape character do" like this. ”;
//You can use a variable within the Echo statement$ Foo's =
Echo-nginx-module is a third-party module, not in Nginx source code, but in Openresty, it brings echo,sleep,time and other powerful commands like bash for nginx.conf.
Currently the latest version is v0.61
Installation Guide SeeHttps://github.com/
Can I use echo to pass php values to js? For example, the question is that the value is transmitted in json format. because there are many records, it takes too much time to use echo.
Reply to discussion (solution)
Why does it take too much
Title, using the JSON pass value, because the record is more, with echo too time-consuming, please master pointing
Reply to discussion (solution)
Why do you think it's too time-consuming to use echo?
Can be serialized or JSON encoded, then
Beginners, by echo grammar puzzles, view, ask you big God guidance!!!The manual writes echo- output One or more strings, while strings have single quotes, double quotes, and delimiters. Single quotes only output the characters themselves, and 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.