13,420
edits
Changes
→INVESTIGATION 3: OTHER COMMANDS THAT USE REGULAR EXPRESSIONS
#Search for the next occurrence of the pattern '''uli101''' by re-typing the following regular expression and pressing ENTER:<br><span style="color:blue;font-weight:bold;font-family:courier;">/uli101</span><br><br>you should now see the second occurrence of this pattern within the text file.<br><br>
# Press the letter <span style="color:blue;font-weight:bold;font-family:courier;">q</span> to exit the '''more''' command.<br><br>
#Let's learn how to perform a simple search and replace in the vi utility by using regular expressions.<br>Issue the following linux command:<br><span style="color:blue;font-weight:bold;font-family:courier;">wget <nowiki>https://ict.senecacollege.ca/~murray.saul/uli101/textfile1.txt</nowiki></span><br><br>
= LINUX PRACTICE QUESTIONS =