![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamically redirect output to duplicate files ??? | nsinha | Shell Programming and Scripting | 3 | 10-09-2007 07:04 AM |
| How redirect output(error and normal) to 2 different files | balareddy | Shell Programming and Scripting | 2 | 09-12-2007 01:05 PM |
| redirect output of FTP | kcaluwae | Shell Programming and Scripting | 4 | 06-23-2005 08:45 AM |
| can you redirect multiple files for input? | Matrix_Prime | UNIX for Dummies Questions & Answers | 4 | 02-27-2005 07:07 PM |
| Redirecting output to multiple log files? | darthur | UNIX for Dummies Questions & Answers | 3 | 01-15-2002 12:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Redirect output to multiple files.
Hi,
I am new to shell scripting and have a question. I would like to redirect the output of a command to multiple files, each file holding the exact same copy. From what I read from the bash manpage and from some searching it seems it cannot be done within the shell except setting up a loop. Is it? |
|
||||
|
Thanks very much for your reply.
From my search I have found `tee' can do it. However, actually I would like to ask if it can be done directly on the shell without using external programs, on the bash shell for example. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|