13,420
edits
Changes
→INVESTIGATION 3: OTHER COMMANDS THAT USE REGULAR EXPRESSIONS
# Scroll throughout the man pages for the ls command to view matches for the pattern "'''sort'''"<br>(You can press '''SPACE''' and '''<ALT><b>''' to move forward and backwards per page respectively).<br><br>
# Press the letter <span style="color:blue;font-weight:bold;font-family:courier;">q</span> to exit the man pages for '''ls'''.<br><br>
#Let's use regular expressions with the '''more''' command.<br>Issue the following linux command to view the contents of the '''textfile1.txt ''' (downloaded in a previous section):<br><span style="color:blue;font-weight:bold;font-family:courier;">more textfile1.txt</span><br><br>
#We want to 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>
#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>