Mount Windows Shares on LINUX

Very often, i get to access a windows shared  from a unix box and also very often i forget how to do it. This article should resolve this issue.

1. First make sure you have sure samba and related software are installed.  You can do that with a simple Yum on redhat based distribution:

yum install samba-client
 

2.  Make sure that all the services are running

service smb status

service smb start

 

3.  Create a directory with mkdir

mkdir /mnt/music

 

4.  Then mount it

mount -t cifs  //IP/Folder  -o username=ycsoftware, password=ycsoftware  /mnt/mymusic