由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - stdout/stderr redirect
相关主题
请教个简单命令问题问一个 Shell 的问题
请问bash下 > 和 >&有啥区别find问题
求教:如何attach to 一个后台进程how to do this Iptables setting?
我的home serverDesign question: how to create installation package to cov
/etc/passwd 里面没有user ids?Help: cannot log all output/errors to file using 2>&1
perl cgi中调用C可执行程序为什么在html中不显示?高人帮我看看一个简单的script,为什么nohup有问题?
再问个fork的题The command line is powerful, but the UI can be more efficient!
Urgent help please! background process killed.A question about two linux commands
相关话题的讨论汇总
话题: stderr话题: stdout话题: redirect
进入Linux版参与讨论
1 (共1页)
l*l
发帖数: 26
1
In bash, I use "some_command > out.txt 2>&1".
But I still saw some output in the console.
How is this possible???
t*****g
发帖数: 1275
2
what about
some_command 2>&1 > out.txt

【在 l*l 的大作中提到】
: In bash, I use "some_command > out.txt 2>&1".
: But I still saw some output in the console.
: How is this possible???

l*l
发帖数: 26
3
nothing changed.

【在 t*****g 的大作中提到】
: what about
: some_command 2>&1 > out.txt

t*****g
发帖数: 1275
4
It's probably the output of your current shell.

【在 l*l 的大作中提到】
: nothing changed.
1 (共1页)
进入Linux版参与讨论
相关主题
A question about two linux commands/etc/passwd 里面没有user ids?
请问Ctrl+Z把任务suspended之后perl cgi中调用C可执行程序为什么在html中不显示?
&! 什么意思?再问个fork的题
命令行迟迟不出来,请问高手是何原因?Urgent help please! background process killed.
请教个简单命令问题问一个 Shell 的问题
请问bash下 > 和 >&有啥区别find问题
求教:如何attach to 一个后台进程how to do this Iptables setting?
我的home serverDesign question: how to create installation package to cov
相关话题的讨论汇总
话题: stderr话题: stdout话题: redirect