Two methods for CentOS to access Windows shared folders

Source: Internet
Author: User
1. enter the following content in the address bar: smb: // WindowsIP/javasfoldernamesmb is the abbreviation of ServerMessageBlock protocol. it is an IBM protocol that runs on the TCP/IP protocol. Since Windows 95, Microsoft Windows provides both Server and Clie...

1. enter the following content in the address bar:

Smb: // Windows IP/Share folder name

Smb is short for Server Message Block protocol. it is an IBM protocol that runs on the TCP/IP protocol.

Since Windows 95, Microsoft Windows provides SMB protocol support for Server and Client. Microsoft provides the Internet with the SMB open source version, Common Internet File System (CIFS), and Common File System.

2. mount the Windows shared folder to a local device.

Enter the following command in the terminal:

Mount-t cifs-o username = "Admin", password = "" // 192.168.1.1/login folder/mnt/MyShare

Note the space and comma in the command line. you can also leave a blank password.

This command is to mount the shared folder named folder 192.168.1.1 to The Local/mnt/MyShare folder. after the command is executed, you can see the contents of folder in MyShare.

Run the following command to delete a Mount entry: umount/mnt/MyShare.



Author: jackytang520

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.