715
edits
Changes
→REVIEW QUESTIONS: SIMPLE & COMPLEX REGULAR EXPRESSIONS
'''Part A: Display Results from Linux Commands using Simple & Complex Regular Expressions'''
Note the contents from the following tab-delimited file called '''~jason.carman/uli101/cars''':
<pre>
Write the results of each of the following Linux commands using regular expressions for the above-mentioned file.
1. <span style="font-family:courier;font-weight:bold">grep plym ~jason.carman/uli101/cars</span><br>2. <span style="font-family:courier;font-weight:bold">grep -i fury ~jason.carman/uli101/cars</span><br>3. <span style="font-family:courier;font-weight:bold">grep “^[m-z]” ~jason.carman/uli101/cars</span><br>4. <span style="font-family:courier;font-weight:bold">grep -i “^[m-z]” ~jason.carman/uli101/cars</span>5. <span style="font-family:courier;font-weight:bold">grep “3$” ~jason.carman/uli101/cars</span><br>6. <span style="font-family:courier;font-weight:bold">grep -i “c.*5$” ~jason.carman/uli101/cars</span><br>