Show Samba shares on Linux

smbclient -L //hostname-or-ip
If you do not provide the password, it will browse anonymously.
smbclient is available in package samba-client on RedHat based distributions.