What does the /text command do?
Answers were Sorted based on User's Feedback
Answer / sourisengupta
/text: it will search for the string(pattern).You will get
the first occurance after pressing enter.If you wanna see
the next occurance then press "n"
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / santhosh kumar
/text command will search for the text(String ) in forwards (downwards) in the file
? will do reverse process of above / command that is backwards (upwards ) search of the string in the file
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ali
/text command will search for text(string)from the next line in forward(downward) direction. After pressing enter,next first occurrence of text will be highlighted. Press 'n' for next occurrence in forwards direction or 'N' for backward direction.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between ZZ and :wq commands?
what is the command used to delete current line in vi editor?
what is the command used to append text after current line?
What does the /text command do?
what is the command used to append to buffer?
How to append a file to current file?
what are the different commands used to quit from the vi editor?
How to replace String "a" with String "b" in whole file of the vi editor?
How to enter from command mode to insertion mode?
What is the command used to replace many characters?
What is the command used to display line numbers in vi editor?
How to create a .exrc file in vi editor?