HERE you have a very basic grep tutorial written by me a couple of years ago.