Searching contents of a file using command line

03.22.2011 at 3:18 pm Leave a comment

find /path/to/directory -exec grep -c “abc” {} /dev/null \;

Entry filed under: Uncategorized. Tags: .

BSD Magazine October 2010 Issue Some issues about Cisco Linksys Routers

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


 

March 2011
M T W T F S S
« Oct   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  

Blog Stats

  • 14,591 hits

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4 other followers


Follow

Get every new post delivered to your Inbox.