Often, you'll want to capture stdout and stderr.
您常常会需要捕获stdout和stderr。
The same rules apply in AIX with > and >> on stdout and stderr.
在 AIX 中,对stdout和 stderr 使用 > 和 >>时应用相同的规则。
There are times when you may need to have both stdout and stderr written to the same file or device.
有时候,可能需要把stdout和stderr写到同一个文件或设备。
Listing 10 shows what happens if you use nohup as we did before, but redirect both stdout and stderr.
清单10显示了按照旧方式使用nohup会发生什么情况,但同时重定向了stdout和stderr。
Meanwhile, the selpg process runs in the background, with stdout and stderr both redirected to files.
同时,selpg进程在后台运行,并且标准输出和标准错误都被重定向至文件。
The nohup command is used to start a command that will ignore hangup signals and will append stdout and stderr to a file.
nohup命令用于启动一个忽略hangup信号的命令,并且将stdout和stderr附加到文件。
The phrase |&tee log pipes the stdout and stderr of bash to the tee utility, which prints its stdin to stdout and to the file log.
短语 |&teelog 将bash 的stdout和stderrto 通过管道重定向到tee实用工具,后者将其stdin 打印到 stdout 和文件 log 中。
Combining STDOUT and STDERR in this way prevents STDERR output from showing up on the system console and enables the program to parse it.
以这种方法合并STDOUT和STDERR,将阻止STDERR输出在系统控制台上显示并允许程序解析它。
You can use variants of the redirection syntax to do just that: |&, >&, >>&, pipe, create, and append stdout and stderr simultaneously, respectively.
您可使用重定向语法的一些变种来实现该功能:|&, >&, >>& 可分别对stdout和stderr 实现管道、创建、附加功能。
The cron daemon sends you the output from stdout and stderr, which means that you get a copy of the output, even if the script executed successfully.
cron守护程序将发送stdout和stderr的输出,这意味着即使脚本成功执行,也会得到一个输出副本。
In traditional programming languages such as c, you would use STDIN, STDOUT, and STDERR to accomplish this.
在诸如c之类的传统编程语言中,您将使用STDIN、STDOUT和STDERR完成此操作。
But this feature is useful when stdout has already been redirected to another source, on the same command line, and you want stderr to go to the same destination. For example.
在标准输出已被重定向至其它源,而您希望在同一命令行上将标准错误也写至同一目的地时,该特性就非常有用。
When activity occurs, inetd maps the incoming request to standard input (stdin), standout output (stdout), and standard error (stderr) and launches the proper daemon.
当发生活动时,inetd 把入站请求映射到标准输入 (stdin)、标准输出 (stdout)和标准错误 (stderr),并启动适当的守护进程。
The term stdout is the output data that the program executed returns, and stderr refers to errors that the program encountered or returned.
术语stdout表示执行的程序所返回的输出数据,而stderr指的是程序遇到或返回的错误。
In the first case, stderr is redirected to the current location of stdout and then stdout is redirected to output.txt.
在第一种情况中,stderr被重定向到stdout的当前位置,然后在将stdout重定向到out put . txt,但第二次重定向仅影响stdout,不影响stderr。
Thankfully, we remembered to separate stdout into ls.out and stderr into ls.err.
好在可以把stdout和stderr分别重定向到ls . out和ls .err,这样就能够看到错误消息。
That's true. Although you can always redirect stderr and stdout, nothing beats a good command line error message.
这是事实。虽然你总是可以重定向标准输出和标准错误输出,没有什么比命令行错误消息好。
How to save STDERR and STDOUT of a pipeline on a file?
如何节省管道stderr和标准输出一个文件?
How to save STDERR and STDOUT of a pipeline on a file?
如何节省管道stderr和标准输出一个文件?
应用推荐