File Management Conclusion
Sample cshrc File
Grep Regular Expression
Pattern Matching - Quiz
editing with vi
Searching Text in vi - Exercise
Searching for text in vi
Practicing forward and backward searches
to search for text.
You will receive2 points for this exercise.
Submitting your exercise
This exercise is auto-scored. When you have finished, just click the
button to receive full credit.
In this exercise, you will practice using vi's search commands.
Log in to your course account.
Change to the practice directory, and use the vi editor to open the
command to search forward for the regular expression
(2 followed by any single character).
several times to repeat the search.
Use the ? command to search backward for the regular expression
(3 followed by any digit 0 to 5).
several times to repeat the search in the same direction. Because you previously used the
command, the search is repeated backward.
several times to repeat the search in the opposite direction, or forward, in this case.
Quit vi, and log out when you are done.
Press Enter after the