Linux client terminal (command line) to access samba

Source: Internet
Author: User
The Linux client terminal (command line) accesses samba-Linux Enterprise Application-Linux server application information. The following is a detailed description. To connect to the samba/windows file server on a linux client, run the smbmount or mount command:

Smbmount // sambaserver/d/mnt/d-o username = aaa, password = bbb
Smbmount // sambaserver/d/mnt/d-o username = aaa % bbb
Mount-t smbfs-o username = aaa, password = bbb // sambaserver/d/mnt/d
Mount-t smbfs-o username = aaa % bbb // sambaserver/d/mnt/d
Smbclient // sambaserver/d-U username % password

Note:

1. Specify the uid or gid parameter, or specify the user's identity (uid = can be followed by the uid or user name), such:
Smbmount // test/d/mnt/d-o uid = grind
2. smbmount can also write mount. smbfs, which is a symbolic link;
3. The smbmount parameter must be written at the end, while the mount parameter location can be changed;
4. Because the // sambaserver/d format can indicate that smbfs is to be mounted, the-t smbfs parameter of mount can be omitted;
5. If no password is added to the command line, the system will prompt you to enter the password in the next line;
6. After smbclient is successful, an ftp-like interface will appear. perform the same operation as ftp.
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.