![]() |
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 |
| 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 |
| grep help, how do i rewrite this | weezybaby | Shell Programming and Scripting | 5 | 01-31-2008 07:57 PM |
| need to extract info from log files | kirantalla | AIX | 7 | 08-15-2007 11:33 PM |
| How can I get multiple info from different files | efernandes | Shell Programming and Scripting | 3 | 02-07-2007 06:54 PM |
| How do I rewrite to use a while instead of find? | goodmis | Shell Programming and Scripting | 4 | 02-06-2007 02:20 PM |
| Apache Rewrite help! | hassan2 | UNIX for Advanced & Expert Users | 1 | 11-11-2002 01:35 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
I'm sure there's a lot of ways to do this...
command > file1.ext cp file1.ext file2.ext cp file1.ext file3.ext You can also try using the tee command, but it may only work on the C shell. To write to the files: command | tee file1.ext file2.ext file3.ext To append to them: command | tee -a file1.ext file2.ext file3.ext |
|
||||
|
If perl is anygood to you.
Quote:
|
|
|||||
|
This sounds vague enough to possibly be homework...
What do you have written so far? What shell? Why do you need it in 3 different files? How is the information stored (in a varible, a disk file, coming in from a pipe)? |
|
||||
|
Quote:
and now i have a new ip almost every month..... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|