mathewcos wrote: > I have a file containg the word 'hai' in my present working direcory. > File name is 'newfile'.I executed the the following command from my > present working directory. > > #grep hai *.* > > It is not selecting the file newfile. Why?
Think about the difference between * and *.* And either use fgrep or grep -f for this.
