#mount-T cifs-o username= Administrator , password= 123456 192.168.1.12/shared /mnt/work
(Note: The red part is the Windows user name and password)
#mount-T Cifs-o username=administrator,password= 192.168.1.12/shared/mnt/work
(the default user name is administrator, the password is empty)
mount-t CIFS 192.168.50.34:temp/root/aa is used in a similar manner. 192.168.50.34 is the IP address of Windows, and the Temp directory is the shared directory for Windows.
cifs means universal Network File system, The mount.cifs is used to mount a CIFS file system for Linux, which indirectly involves the Mount (8) command when using the-T CIFS command. This command can only be performed on Linux, and the kernel must support the CIFS file system. The CIFS protocol, formerly known as the SMB protocol, is supported by most windows, commercial servers, and storage applications. (mount.cifs and Mount-t The only difference between cifs is that Mount.cifs is in the Samba software package, and mount is in the Util-linux software package. )
Reference: http://blog.itpub.net/25756293/viewspace-1330757/
This article is from the "Boyhack" blog, make sure to keep this source http://461205160.blog.51cto.com/274918/1751498
Linux CIFS mounts Windows shared folders