Thanh Hoan
New member
Which command searches for a keyword in a file while opened in vi editor?
Answer
search single word or string
When the file is open in the vi editor, change the editor to the normal or command mode by
pressing Esc (or Escape) key. The command mode is the default mode. When in command mode type the forward slash (/) and followed by the string (or word) you want to search.
Answer
search single word or string
When the file is open in the vi editor, change the editor to the normal or command mode by
pressing Esc (or Escape) key. The command mode is the default mode. When in command mode type the forward slash (/) and followed by the string (or word) you want to search.