Mount Remote Windows Share

I’m using CentOS 5.5.

Make sure your Linux has Samba client installed. If not, run the below to install it:
# yum install samba-client

Now mount Windows share:
# mount -t cifs //win_server/share -o username=theuser,password=thepwd /mnt/winshare

-t cifs: file system type. Use smbfs instead if using an old version Linux
//win_server/share: the shared folder on a Windows machine
-o …: used to specify options. Here it’s used to specify the username/password pair to access the share on Windows
/mnt/winshare: the mount point on Linux

This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">