Regarding the use of grep

view full story

http://www.unix.com – Hi Folks, I have to reached to a particular location to read the logs , Currently I reached to that location and open the log file in vi editor.. Code: cd /var/logs/abc.log vi abc.log And I have to search the string in the while opening the logs in Vi editor itself , lets say I have to search 'uuttuu' in logs that I do as.. Code: /uuttuu But please advise how grep command can help me without opening the logs file in vi editor itself that I can reach to the location of logs but first without opening the log file in vi editor and putting this much effort I can first take over (HowTos)