I believe you are missing the cat /path/to/file/you/are/inspecting.txt which tells grep what content to look at. Here is a reference I use quite often with some nice piped combos to do a variety of things: http://www.pixelbeat.org/cmdline.html Good luck, Joe