Mailinglist Archive: opensuse (1587 mails)
| < Previous | Next > |
Re: [SuSE Linux] String search in all text files
- From: Michael.Salmon@xxxxxxxxxxxxxxx (Michael Salmon)
- Date: Tue, 10 Nov 1998 12:48:15 +0100
- Message-id: <199811101148.MAA27943@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
+----- On Sat, 07 Nov 1998 17:29:51 EST, "Casey Bralla" writes:
|
| I want to search every file on my hard disk for a specific
| text string. Anybody got a simple way of doing this?
You probably don't want to do that but if you really must:
find / -type f -print | xargs -e egrep "text string"
You will probably want to include a -size option in the find command so
that you don't search large binaries and an -fstype if you NFS mount
file systems.
/Michael
-
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
| < Previous | Next > |