[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customer Alert
From: |
Eric Pailleau |
Subject: |
Re: Customer Alert |
Date: |
Mon, 11 Oct 2010 17:01:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100624 Mandriva/3.0.5-0.1mdv2009.1 (2009.1) Thunderbird/3.0.5 |
Le 11/10/2010 12:40, Eric Pailleau a écrit :
>/tmp/exec.out 2>&1 /tmp/exec1.out
I did not see at first glance,
but I don't understand your redirections :
>/tmp/exec.out 2>&1 /tmp/exec1.out
2>&1 means redirect stderr in stdout
>/tmp/exec.out means redirect stdout (and stderr due to 2>&1 ) in a file
/tmp/exec.out.
What is /tmp/exec1.out for ?
If I do
$> echo "hello" >/tmp/exec.out 2>&1 /tmp/exec1.out ; echo $?
0
/tmp/exec.out contains (?!)
---8<----------------------
hello /tmp/exec1.out
---8<----------------------
and /tmp/exec1.out obviously does not exists
Regards.
- Re: Customer Alert, (continued)
- Re: Customer Alert, Mark Olliver, 2010/10/06
- Re: Customer Alert, Jan-Henrik Haukeland, 2010/10/06
- Re: Customer Alert, Mark Olliver, 2010/10/06
- Re: Customer Alert, Jan-Henrik Haukeland, 2010/10/06
- Re: Customer Alert, Mark Olliver, 2010/10/07
- Re: Customer Alert, Martin Pala, 2010/10/07
- Re: Customer Alert, Mark Olliver, 2010/10/07
- Re: Customer Alert, Martin Pala, 2010/10/08
- Re: Customer Alert, Mark Olliver, 2010/10/11
- Re: Customer Alert, Eric Pailleau, 2010/10/11
- Re: Customer Alert,
Eric Pailleau <=