Linux – mapping to a windows share (SMB)

As per below. First you will need to install samba client.

In Fedora / Centos …

yum -y samba-client

then use the mount command to mount the share to a directory… 

mount -t cifs -n // /mnt/sharename -o username=guest,password=

It will be similar in other distros. Remember to create the /mnt/sharename directory before trying to mount any share to the directory. Directories are created like so;

mkdir /mnt/sharename

158 Replies to “Linux – mapping to a windows share (SMB)”

  1. I want to express my respect for your generosity in support of persons that require guidance on the study. Your personal dedication to getting the solution up and down was unbelievably interesting and has permitted somebody like me to achieve their aims. This invaluable facts indicates this much a person like me and even more to my mates. Thanks a ton; from each one of us.

  2. Thank you a bunch for sharing this with all people you really know what you’re talking about! Bookmarked. Kindly additionally talk over with my site =). We can have a hyperlink alternate agreement between us!