Shawn's answer is definely the right one given the situation. Although, another approach to consider would have been
find / -iname smb\* -perm +x


Much more disk usage from the find command if you're going to be searching repeatedly, but if it's a one-off it's often a quicker solution than updating the updatedb for a few reasons:
You can abort it as soon as it's found the file you need
It will only return executable files (if you remember the optional -perm, it's not required)
It's a repeatable handy trick, works especially well when you're not dealing with searching the whole filesystem, but it sure does work.


Btw, I noticed Shawn's response was _real_ fast - as in before the original message? :)
Might want to check the time on your machine, JoJo, it appears to be about 5 mins 22 seconds fast.


Aaron J.

[EMAIL PROTECTED] wrote:

do the following steps to locate the file

cd /
updatedb
locate smb*

hth

Shawn






JoJo Almario <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/10/2004 11:28 AM Please respond to Triangle Linux Users Group discussion list


To: [EMAIL PROTECTED]
cc: Subject: [TriLUG] Samba 3.0 install



I am installing the latest release of Samba in order to serve files ina WIndows 2003 domain.



So far I have


-tar-xvzf'ed the file
- ./configured --with-configdir=/etc --with--smbmount --with-lockdir=/var/lock
-I did a make and make install
-I did a testparm (no real syntax errors in smb.conf)


When I go to do a /usr/sbin/smbd -D it says that its not in there. When I l do a whereis smbd it doesnt show it as being anywhere. Is there somewhere I am not finding the startup for samba?

Any help?







--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to