Linux command smbclient is mainly used to store and read the client program on the server, and parse and record these programs. This article will specifically introduce the use of the Linux system smbclient command.
1, lists the files in a shared folder IP address provided
smbclient -L 198.168.0.1 -U username% password
2, like FTP The client uses smbclient
smbclient //192.168.0.1/tmp -U username%password
After executing the smbclient command successfully, enter the smbclient environment and the prompt appears: smb:\\"
There are many commands similar to the ftp command, such as cd, lcd, get, megt, put, mput, etc. With these commands, we can access the shared resources of the remote host.
3, directly use the smbclient command
smbclient -c “ls” //192.168.0.1/tmp -U username%password
and
smbclient //192.168.0.1/tmp -U username%password
smb:\\"ls
The same function
Example, create a shared folder
smbclient -c “mkdir share1” //192.168.0.1/tmp -U username%password
If the user share //192.168.0.1/tmp is read-only, it will prompt < Br>
NT_STATUS_ACCESS_DENIED making remote directory \\share1
4. In addition to using smbclient, you can also mount remote shared folders via mount and smbcount
mount -t smbfs -o username=administrator ,pass=123456 //192.168.0.1/tmp /mnt/tmp
smbmount //192.168.0.1/tmp /mnt/tmp -o username=administrator
The above is the Linux system smbclient command The use of the smbclient command in the Linux system is still quite extensive.
We all know that the file encoding in Windows defaults to gbk or gb2312, but many u
What are soft links and hard links in Linux systems? What are the differences betwe
As an operating user of Ubuntu system, the Linux kernel cant be used when it is jus
Linux multi-path refers to the connection between the host and the hard disk, and also includes the
Linux removes the physical volume of PV in LVM
Linux using the fdisk tool to create partitions
How Linux system renders Chrome browser fonts
How to install and use Vsftp in Centos system
How Linux uses the shell to identify system bits
How to connect wifi through the command line under Linux?
Linux steps to start an Oracle database using commands
Linux system sort command operation example
Detailed method for automatic backup and deletion of website data under Linux
How to view and shut down SELinux on Linux systems
How does Win7 view web page error details? How to view the details of the webpage error
Win10 application store server error 0x800706d9 solution
Review the various versions of Internet Explorer browser (3)
How to set the long and short time format in Windows 8
After Win7 boot, the desktop does not have anything to do with
How to turn off the Win8.1 automatic update function
Install Windows XP to multiple computers with the same hardware device
What should I do if the Linux crontab has a BAD FILE MODE error?
Win10 10125 Chinese language package installation and garbled processing method