![]() |
|
|
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 |
| how to redirect the output of a grep command to a file inside a shell script | kripssmart | Shell Programming and Scripting | 11 | 06-19-2008 08:28 AM |
| Redirect grep output into file !!!!! | hanu_oracle | Shell Programming and Scripting | 2 | 04-10-2008 10:02 AM |
| redirect the grep output into the variable | mail2sant | Shell Programming and Scripting | 1 | 04-08-2008 10:46 AM |
| grep string and output filename | happyv | Shell Programming and Scripting | 3 | 11-20-2007 12:16 AM |
| Losing filename in grep output | netguy | Shell Programming and Scripting | 6 | 04-27-2004 12:39 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Redirect grep output to dynamique fileName and subdirectory
Hi all
i'm new in KSH, i want to write a script to grep a logs files and redirecting the result into a relative subdirectory/file.txt that must be created near to each log file my begin script is : find ./logs -type f -name "*.log" -exec grep error {} \; how i can perform that modest script thanks in advance Rambler |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|