[NBLUG/talk] Finding files containing a string
Todd Cary
todd at aristesoftware.com
Sun Dec 12 12:52:43 PST 2004
Scott -
After looking up each of the individual commands in "Linux in a
Nutshell", the command line makes sense. However, I get into my Linux
server every few weeks or so which makes remembering the commands a
challenge. Has anyone ever published a "Quick Reference"?
O'Reilly's "Linux in a Nutshell" is great if one knows the command to
begin with. It would be great to have one of those Quick Reference
cards like the one for "vi"; the 100 most used commands in Linux!
Example:
ps -A | grep <process name>
kill -9 <process ID>
Just an idea!
Todd
Scott Doty wrote:
>On Sun, Dec 12, 2004 at 12:02:36PM -0800, Todd Cary wrote:
>
>
>><<<
>>Do you want to find the string "interbase.so" inside of a file?
>>
>>
>>Yes! When I use the grep in my previous message, I only get the file
>>name (expected); I want to have the fully qualaified file name i.e. the
>>directory plus file name.
>>
>>
>
>find . -type f | xargs fgrep -l 'interbase.so'
>
> -Scott
>
>_______________________________________________
>talk mailing list
>talk at nblug.org
>http://nblug.org/cgi-bin/mailman/listinfo/talk
>
>
>
>
--
More information about the talk
mailing list