how to redirect verbose to file?

Cameron Simpson cs at zip.com.au
Thu Apr 29 00:59:45 UTC 2010


On 28Apr2010 16:29, Anne Moore <diabeticithink at yahoo.com> wrote:
| Worked like a champ. Thank you! 
| 
| -----Original Message-----
| From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
| On Behalf Of Stainforth, Matthew (SD/DS)
| Sent: Wednesday, April 28, 2010 3:25 PM
| To: redhat-list at redhat.com
| Subject: RE: how to redirect verbose to file?
| 
| Try /opt/bp_backupme.pl -v 2>&1 > filename.txt

Then it is excessive. Drop the "2>&1" and it should _still_ work.
As mentioned earlier, this incantation is backwards. Redirections are
applied left to right, so "2>&1" probably changes nothing.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Do not taunt Happy Fun Coder.




More information about the redhat-list mailing list