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 |
How to append a file to current file?
what are the two different modes in vi editor?
What does the /text command do?
Which command is used to replace many characters?
what is the command used to append text after current line?
How to replace String "a" with String "b" in whole file of the vi editor?
How to return to shell without leaving vi editor?
What is the command used to display line numbers in vi editor?
What is the difference between ZZ and :wq commands?
What is the command used to replace many characters?
what is the command used to delete current line in vi editor?
what is the command used to set margin in vi editor?