http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/ There are many more examples if you search on Google. Joan in Reno
--- On Wed, 5/22/13, [email protected] <[email protected]> wrote: From: [email protected] <[email protected]> Subject: [LINUX_Newbies] Grep questions To: [email protected] Date: Wednesday, May 22, 2013, 11:07 PM Do Mai 23 07:53:33 2013 Good morning. Grep questions How can I use grep? I opnened man grep, but this could not help me. Example. I want to search all files *.txt which contains the word hellomydearword and the result I can see in the file result.txt like grep *.txt "hellomydearworld" > result.txt. One question more: I want to search all files *.txt which contains the word hellomydearword written in May 2010 and the result I can see in the file result.txt like grep *.txt "hellomydearworld" may 2010 > result.txt. Regards Sophie ------------------------------------ To unsubscribe from this list, please email [email protected] & you will be removed.Yahoo! Groups Links [Non-text portions of this message have been removed] ------------------------------------ To unsubscribe from this list, please email [email protected] & you will be removed.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/LINUX_Newbies/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
