1. ECHO Displays a line of strings to the standard output.
0) some details of the ECHO command are different in System V, BSD, and Linux like-Unix systems, which are mainly Linux systems.
1) usage: Echo [-E] [-N] string
① String: string is the
Input/OutputStandard input: The default is the keyboard and can be specified as a file.Standard output: The default is the screen and can be specified as a file.If a line cannot end at terminal input, you can use the backslash \ on the next line to
Shell command to read data and output data [plain] www.2cto. comshell scripts read data in several ways: 1. keyboard Input. default value: 2. read from file 3. the echo function is passed through pipeline commands: \ c: No line feed \ f: paper feed \
Linux redirection command application and syntax 1. standard input control syntax: The Command File sends the command execution result to the specified file. For example, www.2cto. comls-l & gt; list writes the result of executing the ls-l command
Inux redirection refers to modifying some of the original default items and changing the default execution mode of the original system commands, for example, if I don't want to see the output on the monitor, but want to output the inux redirection
Continue to learn the code analysis of Data-related files under the redis source code. Today I am looking at a file named aof. This letter is short for appendONLYfile, meaning only append files. Here, the file append record is used to record the
There are three common file descriptors in shell programming:0: stdin, standard input. The default value is the keyboard input.1: stdout, standard output. The default value is screen output.2: stderr, standard error output. The default value is
In configure, the first section is: If test-n "$ {zsh_version + set}" & (emulate SH)>/dev/null 2> & 1; then emulate sh nullcmd =: # zsh 3.x and 4.x performs word splitting on ${1 + "$ @"}, which # is contrary to our usage. disable this feature.
Since the emergence of computers for decades, the rapid development of computers is accompanied by the changing of related things. The Linux operating system is very popular among users. This article describes the redirection command application and
Linux Redirection command application and syntax[Copy link]Posted on 2008-12-18 18:24 | From 51CTO Web page[See him only] landlord 1. Control of the standard inputSyntax: The command file sends the execution result of the command to the specified
1. Control of standard input
Syntax: The command file sends the execution results of the command to the specified file.
For example:
Ls-l > List writes the results of the "ls-l" command to the file list.
Syntax: Command >! The file sends the
1. Overview1.1 Backgroundin our daily development, logging is very important. Adding logging in an application in general, it is based on three purposes: monitoring the change of variables in the code, periodically recording to the file for other
1, what is log4j?
Log4j is an open source project for Apache, by using log4j, we can control the destination of log information delivery is console, file, GUI component, even interface server, NT Event recorder, UNIX syslog daemon, etc. We can also
The shell script reads data in several ways:1. keyboard input, default2. read from the file3. Pass through Pipeline command
Functions of Echo:\c: No Line change\f: Paper Feed\ t: the jump Grid\ n: Wrapping Line\ represents escape, for example:
A few days ago found that the site is not open, prompted the database connection error, I log on to Linux found Mysqld services do not know when to stop. Luckily, I even found out.So I decided to write a shell script to automatically detect the
ContentEOFYou can replace EOF with something else (the decomposition character)It means to pass the content as standard input to the program.
Here is a brief look at the use of Character. The content after the delimiter is treated as input until the
Article Title: Linux redirection details. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I/O redirection
Article Title: Redirection command application and its syntax in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic
Before using log4j is to take someone else to write good use, today carefully looked under how to configure. Http://blog.sina.com.cn/s/blog_5ed94d710101go3u.html#################################################################################①
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.