Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2006 18:17:25 +0200
From:      Frank Staals <frankstaals@gmx.net>
To:        azhar freebsd <freebsd999@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: where is my adduser.conf file ?
Message-ID:  <44FC5195.3020705@gmx.net>
In-Reply-To: <e4d4eae30609040903g6bf81d35uddc275c42050bfac@mail.gmail.com>
References:  <e4d4eae30609040903g6bf81d35uddc275c42050bfac@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
azhar freebsd wrote:
> hi all
> i am new abt freebsd .
> it may be very simple problem but i am lost . help me !
>
>
>
> [root@mine]/etc# uname -a
> FreeBSD mine.freebsd.org 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Wed Aug 30
> 13:08:32 JST 2006
> root@mine.freebsd.org:/usr/src/sys/i386/compile/MYGENRIC-001
> i386
>
> [root@mine]/etc# whereis adduser.conf
> adduser.conf:
> [root@mine]/etc#
>
> azhar
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
>
'whereis' only looks in the ports or the location of the executable's. 
If you want to find a file you should use 'find' or locate. :

find / -name "whatever-you-re-looking-for"

or use locate, but before you can use locate you have to create the 
locate database. When you search frequently it's advisable to use locate 
since it's faster. Though wheter the results are acurate depends on the 
last time you updated your locate database so:

/usr/libexec/locate.updatedb

locate whateveryourelookingfore
locate somethingelse
locate another thing

GL and HF in FreeBSD

-- 
-Frank Staals





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FC5195.3020705>