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

Re: Can't redirect stout and stderr



On Sat, Apr 25, 2015 at 07:53:23AM +0000, Rodolfo Medina wrote:
> Hi all.
> 
> My old pc has corrupt filesystem problems, and, in order to ask the present
> list some help about that, I need to store to a file the output of
> `update-grub', both stdout and stderr, but don't manage to even using any of
> the solutions suggested wherever I could find them: nor `update-grub > file'
> nor `update-grub &> file' neither `update-grub > file 2&1'.

$ annotate-output update-grub > file

annotate-output will bring both stderr and stdout together (as one would
see on screen), but prepend the time and "E:" or "O:" respectively.
Great little tool.

> 
> Please help!
> 
> Thanks in advance,
> 
> Rodolfo
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 87lhhgprt8.fsf@gmail.com">https://lists.debian.org/[🔎] 87lhhgprt8.fsf@gmail.com
> 

Attachment: signature.asc
Description: Digital signature


Reply to: