The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-10-2009
trey85stang trey85stang is offline
Registered User
  
 

Join Date: May 2008
Posts: 70
noob question about redirecting stderr

I dont know what I am doing wrong but I would like to redirect the stderr output to a file?

the specific command is this

time wget http://www.something.com/somefile.bin

All I want to see is time's output which is stderr so I can see how long the file download took. I've tried redirecting stderr to a file with "2> /some/file.txt" but it does not capture anything. I also cant redirect stderr to stdout and pipe the output to another command to get the info I want

Anyone know what I am doing wrong.. or does anyone have a better way to determine how fast a machines wan connection is to a specific server?

thanks