#1  
Old 20th May 2010, 20:47
rmorgan rmorgan is offline
Junior Member
 
Join Date: Oct 2009
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default find

There is a method to find contents of any file on a system using find . -fgrep "item to find"{}/ but I can not seem to get the syntax right.
can someone point me in the right direction?
Thanks
Reply With Quote
Sponsored Links
  #2  
Old 21st May 2010, 08:55
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

find / -type f | xargs grep -l "I'm looking for this string"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find Command dillemma renegadeviking Technical 1 19th April 2009 23:21
Security issue bernholdt General 3 5th November 2008 13:04
Sudden Problem Started using cp: command "omitting directory" bpmee Server Operation 11 22nd November 2006 16:39
view webalizer stats kuyaedz General 22 12th March 2006 14:45
suse 9.3 install: E: Couldn't find package ncftp aallen Installation/Configuration 4 26th January 2006 20:02


All times are GMT +2. The time now is 04:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.