Search string in vi editor Linux

$ 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”

Please share If you like..Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on Yummly

Leave a Reply

Your email address will not be published. Required fields are marked *

Fariddin Shaikh's Oracle DBA Blog © 2016 Being DBA
Go Back