Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Script to check logs

$
0
0
I have 5 log files under different directores . say for eg abc under /home/dir1 , xyz under home/dir2 . is there a script that i can run from say /home that searchers all these files for string or combination of strings and write to a file

eg search file by timestamp|keyword
o/p in a file

Viewing all articles
Browse latest Browse all 16232

Trending Articles