Sometimes you need to access the window's shared files under Linux, you can mount them using mount or use Samba to connect.
1,mount Mount
$ mkdir Windows
To mount a shared folder to a Windows folder:
Mount-t cifs-o username=user,password=pwd//172.18.191.194/vware_systems Hgfs
Several of these parameters indicate meaning:
Cifs:common Internet File System (Microsoft out, do not have to drill down), it can be understood as a network filesystem
Username: Access the user name of the shared folder
Password: access password
192.168.66.198/share: Indicates the address of the network folder, note that this is not the last to add/, if it is//192.168.66.198/share/will report the following error: Mount://192.168.66.198/share/is Not a valid block device
Tips: Using mount Mount method will expire after the system restarts, if you want to automatically mount the boot, the following settings will be added to the last side of the/etc/fstab file.
192.168.66.198/share/home/windows CIFS Defaults,username=share,password=share 0 2
Where/home/windows represents a mount point, which is the full path to the Windows directory above.
2. Connect using Samba
Samba is software that allows files between windows and the Unix family OS to be accessible to each other. Using Samba to access shared folders for Windows requires the installation of smbclient.
$ sudo apt-get install smbclient
Once installed, you will be able to access the shared files.
$ smbclient--user=share//192.168.66.198/shareenter share ' s password: (enter password return) SMB: \>
Now that you have entered the command operation space for SMB, you can use Help to view the use of the command.
SMB: \> Help ... Omit several commands ... exit get getfacl geteas hardlinkhelp history iosize lcd link ... Omit several commands ...
You can also use Help to see how a single command is used
SMB: \> help Gethelp get: [local name] get a file
Summary
Using the Mount command is relatively straightforward, and the basic Linux system will have this command, and you can access the Linux shared files from Windows using Samba. Choose according to their own preferences can be, what questions can I leave a message.
Reference:
1,linux two ways to access Windows shared folders
http://www.01happy.com/linux-access-windows-shares-folders/
(GO) Linux access to Windows shared folders in two ways