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
sed changes go to standard out....? jimmyc Shell Programming and Scripting 6 03-26-2008 12:01 PM
How to read EEPROM Locations shidlingayya Shell Programming and Scripting 0 02-14-2008 12:35 AM
Printing Dots in specific Locations in the Console ? Max_Payne High Level Programming 0 01-13-2008 12:57 AM
copy similar files only both at different locations using script. fed.linuxgossip Shell Programming and Scripting 1 11-23-2007 04:02 AM
WARNING: ap: no database locations yyt19701210 UNIX for Dummies Questions & Answers 11 10-25-2003 01:53 PM

Closed Thread
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
  #1 (permalink)  
Old 05-14-2004
GaryRudolph GaryRudolph is offline
Registered User
  
 

Join Date: May 2004
Posts: 2
Standard Out to Two Locations

Is it possible to redirect standard output to two locations? Unfortunately, I need to redirect it to two different files. Or if there might be any utilities that can do it.

I'm suspecting not as it's all pipes and filters, but thought I'd ask.
  #2 (permalink)  
Old 05-14-2004
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
You didn't post the OS so I can only hope you have the tee command - check the man page for it.
  #3 (permalink)  
Old 05-14-2004
GaryRudolph GaryRudolph is offline
Registered User
  
 

Join Date: May 2004
Posts: 2
Got it

Sorry, it's Solaris 8. I'll give that a try.

tee is jogging my memory now from many years ago. Forgot all about it.

Thanks, Gary
Closed Thread

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 01:05 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