[NTLUG:Discuss] Host / Domain Name

Thomas Cameron thomas.cameron at camerontech.com
Fri Sep 2 14:05:28 CDT 2005


> Thomas Cameron wrote:
>>>I had *MANY* lines ending with "Permission denied" which I manually
>>>removed. Is there a grep option that will remove those lines before
>>>they are printed?
>>
>>
>> One of many ways:
>>
>> find /etc -type f | xargs grep newdawg 2> /dev/null
>>
>> Thomas
>
> Thomas...
> Thanks!!!
> Charles

No worries - just be aware that that's not a grep thing, it's a stderr thing.

Thomas




More information about the Discuss mailing list