find a key words in a file
Hi,
I have a huge file and I am only interest in loooking for the error that translate to the key words, below is my example within the file:
[28/Aug/2007:16:00:11 00] "GET /pls/orasso/orasso.wwsso_app_admin.ls_login?Site2pstoreToken=8F5F4DE8~DF7915230F9792769C4324C9D53422 AAA 100
as you can see, at the end of the error, there are AAA and 100, AAA are the keys words that I am looking for. Basically, I want to get the whole error string that had AAA and write all of those errors to a file.
Can someone help?
thanks
|