[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how do i..



On Mon, 2004-08-23 at 01:37 +0300, Aaron wrote:
> use redirect > file.txt
> 

If you need to redirect error messages as well:

program > file.txt 2>&1

If you want to also see the output on the screen as well as in a file:

program 2>&1 | tee file.txt

-- 
Aaron Gaudio <prothonotar tarnation dyndns org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]