prohledavani souboru

Ivo Hazmuk ivo at vutbr.cz
Mon Jun 16 06:55:45 CEST 2003


> > muzete mi prosim poradit nejaky prikaz, ktery by vypsal soubory,
> > obsahujici urcity retezec. Diky.
>
> Tak na to staci grep :
>
> adam at srv>grep network /etc/*
>
> vypise soubory v /etc ktere obsahuji retezec network.

Pro binarni soubory je mozna vhodnejsi roura
strings <filename> |grep <regular_expression>

Treba:
fox: $ strings /kernel|grep FreeBSD

	Ivosh

Open-Source software isn't a matter of life or death...
...It's much more important than that!




More information about the Users-l mailing list