sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #50084
Re: Sætte hostnavn i terminal
On Thu, Apr 11, 2002 at 08:45:30AM +0200, Mads Bondo Dydensborg wrote:
> > ellers ....
> > grep "localhost\.localdomain" /etc/* /etc/*/* /etc/*/*/*
> > grep localdomain /etc/* /etc/*/* /etc/*/*/*
> > grep localhost /etc/* /etc/*/* /etc/*/*/*
> find /etc -type f | xargs grep -e "localhost\.localdomain" -e localdomain -e localhost
Nej nej nej, du spilder alt alt for mange processer :))
'grep -r -e "localhost\.localdomain" -e localdomain -e localhost' er
meget bedre.
--
Best Regards
Emil S. Hansen - esh@xxxxxxxxxxx - ESH14-DK
UNIX Administrator, Berlingske IT - www.bit.dk
PGP: 109375FA/ABEB 1EFA A764 529E 82B5 0943 AD3B 1FC2 1093 75FA
"Let's just be honest, and admit that it wasn't designed." -
Linus Torvalds on Linux.
Attachment:
pgpVTGZaAJF4P.pgp
Description: PGP signature
References