Samba access from Linux or Mac

Captured at: 2013-05-23 06:51:19 UTC

Samba client usage on a Linux Box:


smbclient \\\\machine-name\\location
Enter password: *****
smb:\> ls

To mount a samba/windows share:


sudo smbmount \\\\machine-name\\share /mnt/share-location

Samba mounting from a Mac via the command line.

Mounting a share on a Mac via the command line


sudo mount -t smbfs //user@samba-server/sharename local-share-location

To get  a list of all the share(name)s available via Samba-share on the machine we can use the following command:

Finding the list of shares on a machine


smbclient --list=samba-server

Happy samba-ing!