$ curl cheat.sh/
# nmblookup
# Discover SMB shares.
# More information: <https://www.samba.org/samba/docs/current/man-html/nmblookup.1.html>.

# Find hosts in the local network with SMB shares:
nmblookup -S '*'

# Find hosts in the local network with SMB shares run by SAMBA:
nmblookup --status __SAMBA__

$
Follow @igor_chubin cheat.sh tldr