Share /Mount folder between Linux and Windows

Spread the love

Mount Linux CIFS share

First create a folder that you want to share between the systems

In this scenario , I’m going to create share folder .

mkdir command used for create a folder

# mkdir /mnt/folder

Once you created, run this command to mount

\\112.168.122.12\Share this is a location of window share folder

/mnt/Folder  this is a Linux folder location which want to share

# mount -t cifs \\112.168.122.12\Share /mnt/Folder -o username=admin,domain=local

OR

# mount.cifs   \\112.168.122.12\Share /mnt/Folder -o username=admin,domain=local

Now , folder is shared .

If error come command not found , install this package using yum.

# yum install cifs-utils

 

Leave a Reply

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