$ vi <file_name>
1) Now go the last line by pressing (capital G)
2) Now press ?(question Mark) and then followed by String you wanted to search (for example if you wanted to search ORA- then it will be like this ?ORA- and then press ENTER.
3) For next String (example:ORA- error) press “small n”
scrolling upwards “capital N”