I am trying to redirect the time scp command output. But i am not able to redirect that output. I need a help. Anyone please.
TIME SCP command
Collapse
X
-
Hello All, I am trying to write a script that would capture the output of time command on a Sun machine. I have tried these commands $ time ls > out $ time ls 2> out I just get the ls output in the out file for the first one. Thanks for any help Chuck
you can use time with any other command say ls..
(time ls) 1> /dev/null 2> out
Comment