![]() |
|
|
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 |
| tee vs output redirection confusion | c_d | UNIX for Dummies Questions & Answers | 11 | 04-02-2009 06:44 AM |
| Redirection of output to a log file | JohnCrump | UNIX for Dummies Questions & Answers | 8 | 08-22-2008 05:25 AM |
| who truncates the output? redirection? tty? Bug? | fredy | UNIX for Advanced & Expert Users | 7 | 12-10-2006 02:21 AM |
| Redirection of output (for logging) | _Spare_Ribs_ | Shell Programming and Scripting | 3 | 12-04-2006 02:17 PM |
| Standard output and redirection | jerardfjay | Shell Programming and Scripting | 2 | 06-27-2005 12:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
redirection output in two files
I want to redirect output of my script to two logfiles.
I tried this : ./run.sh -c APP | tee >(grep " " > AppLogs.log) >(grep "XYZ" > xyz.log) >dev/null but this does not solve my purpose because logfile xyz.log remains empty untill i stop my script, i want both files, AppLogs.log and xyz.log, to grow together. someone plz help me doing this. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|