I would like to browse Samba server resources from my command line. I guess this is possible, though not that sure if I could cd to smb directories. Do I need any special package to do that?


The software, smbclient, can do this.

smbclient -L -U administrator

Above, the result should be a list of shares. If no username was specified, smbclient uses the current username. Below, the result should be an SMB prompt, smb: \>. Type h for help. It's much like an FTP client.

smbclient // -U administrator

It is also possible to mount a Samba share with smbmount. These programs may need to be installed, but the name of the package depends on the package manager.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy