how to redirect verbose to file?

Manuel Fernando Aller manuel.aller at gmail.com
Wed Apr 28 19:39:08 UTC 2010


El mié, 28-04-2010 a las 15:20 -0400, Anne Moore escribió:
> HI All,
>  
> I'm struggling with this problem. I have a cron job that runs down a list of
> files being backed up. It's called "bp_backupme.pl". As it's backing up, (in
> verbose -v mode), it outputs a list of files being backed up. 
>  
> Does anyone know how I would redirect that files output into a file? (I
> tried the >> filename.xt or >filename.txt, but it doesn't work.)

Anne, have you tried redirect the stdout to a file? you could do with:

./script 2> outFile

Regards,

-- 
Manuel Fernando Aller <manuel.aller at gmail.com>




More information about the redhat-list mailing list