LPI Exam Questions

Which of the following commands have the best chance of success to find your smb.conf file ?

Yesterday, you installed Samba from source. After reading all documentation on www.samba.org you now want to configure some network shares. Unfortunately, you can’t find samba’s configuration file smb.conf anywhere. Which of the following commands have the best chance of success to find your smb.conf file ? (choose the best 2 answers)

A.
find / -name smb.conf

B.
whereis smb.conf

C.
which smb.conf

D.
updatedb; locate smb.conf