Linux_FoundationLinux_Foundation
LFCS · Question #608
LFCS Question #608: Real Exam Question with Answer & Explanation
The correct answer is B: smbclient -L officepc. To list the available shares on a remote Samba/SMB server, the smbclient command with the -L option followed by the NetBIOS name of the server is used.
Submitted by asante_acc· Apr 18, 2026Networking
Question
Which command will list the shares on the workstation with the NetBIOS name officepc and IP address 192.168.0.3?
Options
- Asmbclient -L -I 192.168.0.3
- Bsmbclient -L officepc
- Csmbclient -l -n officepc
- Dsmbclient -list -I 192.168.0.3
Explanation
To list the available shares on a remote Samba/SMB server, the smbclient command with the -L option followed by the NetBIOS name of the server is used.
Common mistakes.
- A. While
smbclient -Lis correct for listing shares, specifying the IP address with-Iis less commonly used when a NetBIOS name is available, andsmbclientis designed to resolve NetBIOS names automatically. - C. The
-loption is not a validsmbclientoption for listing shares;-Lis the correct option. The-noption sets the local client's NetBIOS name, not the target server's name for listing shares. - D. The
--listoption is not a valid parameter forsmbclient; the correct option for listing shares is the single character-L.
Concept tested. Listing Samba/SMB shares
Reference. https://www.samba.org/samba/docs/current/manpages/smbclient.1.html
Topics
#smbclient#Samba/SMB#Network Shares#NetBIOS
Community Discussion
No community discussion yet for this question.