hi,

as far as i know, it can be done like this...

$ command > output_location 2>&1
this redirectes both usual and error output to the same location.

$command >output_location 2> error_location
this redirectes standard output and error output to different locations...

HTH
Ramki

----------
From:   Alexey Alexapolsky[SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, February 10, 2000 4:54 PM
To:     [EMAIL PROTECTED]
Subject:        double redirection(bash)

Hello ,

      Is that possible to run a command from the shell ,
      and to SIMULTANEOUSLY redirect error output to a-location
      and usual output to a(or b)-location ?
  

-- 
Best regards,
 Alexey                          mailto:[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to