Wednesday, May 22, 2013

Re: [LINUX_Newbies] Grep questions

 

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, highskywhy@yahoo.de <highskywhy@yahoo.de> wrote:

From: highskywhy@yahoo.de <highskywhy@yahoo.de>
Subject: [LINUX_Newbies] Grep questions
To: LINUX_Newbies@yahoogroups.com
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 LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.Yahoo! Groups Links

[Non-text portions of this message have been removed]

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment