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



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Redirecting stderr problem phpfreak Shell Programming and Scripting 7 08-28-2008 04:04 PM
Adding custom mesg. when redirecting "exec 2>stderr.err" ? snurani Shell Programming and Scripting 0 07-10-2008 01:19 PM
Redirecting STDERR message to STDOUT & file at same time vikashtulsiyan Shell Programming and Scripting 10 04-09-2008 03:34 PM
Redirecting stderr while live jjinno Shell Programming and Scripting 1 10-16-2007 04:10 PM
redirecting STDOUT & STDERR jshinaman Shell Programming and Scripting 9 06-22-2007 01:04 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0