[NBLUG/talk] Finding files containing a string

Nat W calvin166 at yahoo.com
Sun Dec 12 13:16:01 PST 2004


http://people.debian.org/~debacle/refcard/refcard-en-a4.pdf

this seems to cover the basics. What I don when I need
to remember something
is write it down :).  Maybe make a text file with your
commands that you
need to remember.

-Nat W. 
http://www.pseudoweb.net


-----Original Message-----
From: talk-bounces at nblug.org
[mailto:talk-bounces at nblug.org] On Behalf Of
Todd Cary
Sent: Sunday, December 12, 2004 12:53 PM
To: General NBLUG chatter about anything Linux,
answers to questions,etc.
Subject: Re: [NBLUG/talk] Finding files containing a
string

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
>
>
>  
>

-- 

_______________________________________________
talk mailing list
talk at nblug.org
http://nblug.org/cgi-bin/mailman/listinfo/talk





	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail




More information about the talk mailing list