On Windows
If no folder is shared, share a folder on windows machine by runningC:\> net share toLinux=c:\shared\toLinux /grant:windows-login-id,readVerify if the share is visible
C:\> net share
On SuSE
If mount.cifs is not installed, install it by running$ zypper install cifs-utilsCreate a mount point for mounting the shared folder by running
$ mkdir /mnt/fromWindowsNow, mount the Windows shared folder on Linux by running below command and provide password when prompted
$ mount -t cifs -o username=windows-login-id windows-host:/toLinux /mnt/fromWindowsVerify if the mount is listed by running
$ mountIf successfully mounted, the files from Windows folder c:\shared\toLinux can be accessed in Linux folder /mnt/fromWindows
$ ls /mnt/fromWindows
On Ubuntu
Substitute these commands in the respective places of above section, On SuSE.
$ apt-get install cifs-utils
$ mkdir /mnt/fromWindows
$ mount -t cifs -o username=windows-login-id //windows-host/toLinux /mnt/fromWindows
$ mount
$ ls /mnt/fromWindows