grep a phrase
I have been reading about grep, egrep and fgrep, and I can't seem to figure out how to get grep to search for a whole phrase ie(media tray) instead of just media and tray seperately. Anyone help?
|
Try grep "media tray" filename. You can use the -Hn switches to grep to make it display filename and line number if you're grepping through several files.
Håkan |
All times are GMT -5. The time now is 12:15 PM. |