The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Redirect Standard Output Multi-Process djodjo High Level Programming 5 10-01-2008 02:09 AM
[BASH] redirect standard error and use it inside Pescator Shell Programming and Scripting 2 03-03-2008 06:20 AM
redirect only the standard error output to mail barkath Shell Programming and Scripting 3 02-08-2008 05:41 PM
redirect standard error into log file epall UNIX for Dummies Questions & Answers 7 05-09-2006 03:29 AM
Standard Output dbrundrett Shell Programming and Scripting 3 05-21-2004 02:08 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-27-2007
Registered User
 

Join Date: Jul 2007
Posts: 1
Question from a newbie. How to redirect standard output

I have a program that is sending error text to the console and I need to redirect that output to a log file. I'm brand new to Unix and don't know how to do this. Any direction would be greatly appreciated.
Reply With Quote
Forum Sponsor
  #2  
Old 07-27-2007
Shell_Life's Avatar
Registered User
 

Join Date: Mar 2007
Location: Bahia, Brazil
Posts: 695
Code:
your_program 2> yourlog.log
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0