Samba client Tool

Source: Internet
Author: User
Samba client tool-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Smbtree
Purpose: display the list of all shared hosts and directories in the LAN (the current user is logged on by default)
Usage: smbtree [-B] [-D] [-U username % password]
-D indicates that only the workgroup name is displayed, and the host is not displayed.
-B: queries the list using broadcast instead of the WINS server.
-D and-U cannot be shared, because it is impossible to use all hosts in the same user's Region

Nmblookup
Purpose: display the nethios Host Name of a host.
Nmblookup my-server Query server IP
Nmblookup \ * query the IP addresses of all active hosts

Smbclient
Purpose: Display/log on to the shared folder in the LAN
Usage: smbclient? L host
Smbclient // host/share
Smbclient? L 192.168.0.22? U
Redhat % redhat Log On As a redhat user and display the shared directory
Smbclient // 192.168.0.22/linux? U
Redhat % redhat
Log on to the directory, view the directory content, and download the file through put and get.

Smbtar
Remote Backup of files in network neighbors
Smbtar? S win2000? U redhat? P redhat? X chinalab? T
Itlab.tar
Mount the shared directory to the local directory and then access
Mount. cifs // 192.168.0.22/linux/mnt? O
Username = redhat % redhat
Tar tvf lab.tar: displays the files in the backup package

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.