![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Break a file into separate files | chiru_h | Shell Programming and Scripting | 8 | 07-29-2008 12:06 AM |
| Separate based on file names | prashk15 | Shell Programming and Scripting | 2 | 02-04-2008 06:37 AM |
| insert pipe in file to separate values | DebianJ | UNIX for Advanced & Expert Users | 5 | 03-20-2006 04:20 PM |
| Separate a portion of text file into another file | srikanth_ksv | Shell Programming and Scripting | 4 | 08-05-2005 05:11 AM |
| Listing words from a file on a Separate Line | Astudent | UNIX for Dummies Questions & Answers | 2 | 03-14-2001 03:44 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Output of command to 2 separate file?
How would I echo the same results to two files? One is a running log, and the other is a cache, or sort.
Code:
echo "Hello World" >> /Logs/File1 & /tmp/file2 Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Try:
echo "Hello World" | tee -a /Logs/File1 > /tmp/file2 |
|
#3
|
|||
|
|||
|
That's does it, thanks!!!
(You guys rock!) |
|||
| Google The UNIX and Linux Forums |