13,420
edits
Changes
→INVESTIGATION 1: SIMPLE & COMPLEX REGULAR EXPRESSIONS
# Issue the following linux command ('''copy and paste''' to save time):<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>
# Issue the '''ls''' command to confirm that the text file was downloaded.<br><br>
# View the contents of the '''textfile1.txt''' file using the '''more''' command and quickly view the contents of this file. When finished, exit the more command.<br><br>Although there are several Linux commands that use regular expressions, we will only be using the grep command for this section.<br><br>#Issue the following linux command to match the pattern the within textfile1.txt: <span style="color:blue;font-weight:bold;font-family:courier;">grep "the" textfile1.txt<br><br># x
=INVESTIGATION 2: EXTENDED REGULAR EXPRESSIONS =