TIME SCP command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sherly1
    New Member
    • Sep 2008
    • 1

    TIME SCP command

    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.
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    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

    Working...