[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: 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 

What is /tmp/exec1.out for ?

If I do
$> echo "hello" >/tmp/exec.out 2>&1 /tmp/exec1.out ; echo $?

/tmp/exec.out contains (?!)
hello /tmp/exec1.out

and /tmp/exec1.out obviously does not exists


reply via email to

[Prev in Thread] Current Thread [Next in Thread]