# List shares on a system. smbclient -L hostname
# List files in share smbclient -c ls '\\hostname\share'