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

Re: How to save output when working in runlevel 3 (Lenny)



On 17.03.2010 16:27, Nigel Henry wrote:
> Hi Folks.
> 
> I've got a whole bunch of updates for Lenny, including a load of X stuff, 
> which I don't like installing while X is running.
> 
> I save all the update output from the konsole in my history-files for future 
> reference.
> 
> Is there a way to save the output when working in runlevel 3?
> 

i'd do:

your_command 2>&1 | tee your_logfile

man tee - for details

Best regards

Mart


Reply to: