Changes

Jump to: navigation, search

Tutorial9: Regular Expressions

6 bytes added, 13:42, 23 March 2023
REVIEW QUESTIONS: SIMPLE & COMPLEX REGULAR EXPRESSIONS
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 ~murrayjason.saulcarman/uli101/cars</span><br>2. <span style="font-family:courier;font-weight:bold">grep -i fury ~murrayjason.saulcarman/uli101/cars</span><br>3. <span style="font-family:courier;font-weight:bold">grep “^[m-z]” ~murrayjason.saulcarman/uli101/cars</span><br>4. <span style="font-family:courier;font-weight:bold">grep -i “^[m-z]” ~murrayjason.saulcarman/uli101/cars</span>5. <span style="font-family:courier;font-weight:bold">grep “3$” ~murrayjason.saulcarman/uli101/cars</span><br>6. <span style="font-family:courier;font-weight:bold">grep -i “c.*5$” ~murrayjason.saulcarman/uli101/cars</span><br>

Navigation menu