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

Re: redirect time to file



In <[🔎] a7e963770904171300k2e0bdccdq125f89eb886e9896@mail.gmail.com>, Erik 
Xavior wrote:
>$ time echo hi > file
>
>real    0m0.000s
>user    0m0.000s
>sys     0m0.000s
>$
>
>why doesn't it redirect the:
>
>real    0m0.000s
>user    0m0.000s
>sys     0m0.000s
>
>to the "file"?
>
>even
>time echo hi 2>&1 > file
>doesnt work :O

This is specific to bash, and only when using the time built-in.  Try your 
re-direction with:
command time echo hi
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: