How to access ftp-like interface or SMB share drive from Linux command line?
An SMB client program provides an ftp-like interface on the command line. You can use this utility to transfer files between a Windows and a Linux client.
1. Install SMB Client on Ubuntu
$ sudo apt-get install smbclient
2. Install SMB Client on CentOS/RHEL
$ yum -y install samba samba-client
3. Connect to share folder using client
$ smbclient //<share-folder-path> -U <user-name> $ <password>
That’s it. I hope this will help. ?