Mount Windows share on Linux

To mount a Windows share on a Linux machine you’ll need CIFS. To install CIFS, issue the following at shell:

yum install cifs-utils
sudo apt-get install cifs-utils

Create an empty folder at the location you want to mount the drive:

mkdir /location/share

To mount the windows share issue the following:

mount -t cifs //192.168.123.100/shared_folder /location/share -o user=user5

You will be prompted for a password, issue the password and you should now be able to access it.

This share will not mount on boot so you’ll need to be conscious of that.