[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Hostname ändern



Hallo Stephan, 

Am 23:50 2003-04-13 +0200 hat Stephan Kessler geschrieben:
>
>Hi,
>
>> Stephan Kessler <stephankessler@gmx.de> wrote:

>> find /etc /type f -print0 | xargs grep -l dedi01
>
>Sorry bin mit dem Find befehl nicht so bewandert:
>
>warpy:~# find /etc /type f -print0 | xargs grep -l dedi01
>find: /type: No such file or directory
>find: f: No such file or directory
>grep: /etc: Is a directory
>warpy:~#
>
>Hab ich was falsch gemacht? Oder was sagt das jetzt aus?

Nee, aber einen Falschen Tiop bekommen. 
Richtig: 

find /etc -type f -print0 | xargs grep -l dedi01
          ^
          |
so gehts

Michelle
back from hospital

-- 
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org.
+--------------------------------------------------------------------------+
| Michelle's Internet-Service                    Inh.  Michelle Konzack    |
| FunkLAN-Providerin                                                       |
+--------------------------------------------------------------------------+



Reply to: