Help with EGREP in terminal
I'm using an open terminal, and changing directories to /usr/share/dict. There is a file called words in dict that contains every word in the english language. I also have to use the egrep command. What command would you use to:
-list all words that have the letter 'a' followed immediately by the letter z
-list all words that have the letter a followed sometime later by the letter z (there must be one letter in between)
Essentially the command line would be
egrep ...... words
Last edited by raoulduke666; 09-28-2012 at 06:27 PM.