1 ls -l 2 cat characters 3 grep bit characters 4 echo "hi there - how are you" | grep hi 5 echo "hi there - how are you" | grep hello 6 echo "hi there - how are you" | grep Hi 7 echo "hi there - how are you" | grep [Hh]i 8 more words 9 wc words 10 grep p...r words 11 grep ^p...r$ words 12 grep ^p...r$ wo* 13 grep '[qQ][^u]' words 14 printenv 15 printenv | grep PATH 16 ls 17 cd spim-8.0/CPU/ 18 ls 19 grep REG_A0 *.c 20 cd 21 wc Hamlet.txt 22 grep Hamlet Hamlet.txt 23 grep Hamlet Hamlet.txt |wc 24 grep 'Hamlet Hamlet.txt |wc 25 grep '^Hamlet' Hamlet.txt |wc 26 grep '^Hamlet' Hamlet.txt 27 more Hamlet.txt 28 grep '^[ \t\n\r]*$' Hamlet.txt 29 grep '^$' Hamlet.txt 30 grep '^.$' Hamlet.txt 31 grep '^.$' Hamlet.txt |wc 32 grep '^.$' Hamlet.txt | od | more 33 grep '\([aeiou]\)\1' words 34 grep '\([aeiou]\)\1\1' words 35 grep '\([aeiou]\).*\1.*\1' words 36 grep '\([aeiou]\).*\1.*\1' words | wc 37 grep '\([aeiou]\).*\1.*\1.*\1' words | wc 38 grep '\([aeiou]\).*\1.*\1.*\1' words |more 39 grep '\([aeiou]\).*\1.*\1.*\1.*\1' words |more 40 grep '\([aeiou]\).*\1.*\1.*\1.*\1.*\1' words |more 41 grep '\(.\)\(.\)\(.\)\(.\)\4\3\2\1' words 42 grep '\(.\)\(.\)\(.\)\3\2\1' words 43 grep '^\(.\)\(.\)\(.\)\3\2\1$' words 44 sed -e 's/Hamlet/Fred/g' Hamlet.txt |more 45 sed -e 's/Hamlet/Fred/g' Hamlet.txt | grep Fred|more 46 sed -e 's/Hamlet/The Great Dane/g' Hamlet.txt 47 sed -e 's/Hamlet/The Great Dane/g' Hamlet.txt | grep Dane|more 48 cat characters 49 sed -e 's/\(.*\), \(.*\)/\1 \1' characters 50 sed -e 's/\(.*\), \(.*\)/\1 \1/' characters 51 sed -e 's/\(.*\), \(.*\)/\2 \1/' characters 52 history >lec6.history