Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.19)

19. 

Which command is used with vi editor to search a pattern in the forward direction?

[A]. /
[B]. ?
[C]. //
[D]. ??
[E]. None of the above

Answer: Option A

Explanation:

No answer description available for this question.

Siddhi said: (Jan 16, 2013)  
To move quickly by searching for text, while in command mode:

1. Type / (slash).
2. Enter the text to search for.
3. Press <Return>.

The cursor moves to the first occurrence of that text.

To repeat the search in a forward direction, type

n

To repeat the search in a backward direction, type

N

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.