This post is intended for those interested in accessing SAMBA/CIFS shared files from the command line.
First, we will install the necessary applications.
emerge -av cifs-utils
View shared resources:
smbclient -L IP_SERVER -UUSUARIO
Mount resource:
mkdir /mnt/samba
mount -t cifs //IP_SERVER/RECURSO /mnt/samba/ -o"username=USUARIO"
mount -t cifs //IP_SERVER/RECURSO /mnt/samba/ -o"username=USUARIO"