I have to count the word like "RESULT_CODE: : -6" from the multiple files names like req.result_2_vqx-71144750.log for a particular date. Lets suppose the date is 10 OCT 2011.
How I can do it with a single command in Solaris environment.
I have not written that the solution given is "the useless one", in my post anywhere.
Also there is no error message displayed for the above command. my only intention was to know the exact command ...thats all !!
How do you know that I have not tried enough on this problem...instead of writing a long essay for a particular forumn. please metion the solution if you know. This will save your time as well as mine.
Regards
Oracle User
---------- Post updated at 10:50 PM ---------- Previous update was at 10:45 PM ----------
-rw-rw-r-- 1 oracle dba 962 Nov 7 14:54 req.267891147-67891246.log
There are lots of logs for this particular date; lets say between 500-1000 logs. I need a command which filter a particular word from all the logs and give the count as a result.