smbclient
FTP-like client to access SMB/CIFS resources on servers. More information: https://manned.org/smbclient.
- List available shares on a server anonymously:
smbclient --no-pass
- Connect to a share (will prompt for a password):
smbclient ///
- Connect to a share as a specific user:
smbclient ///
- Connect to a share as a specific user with inline password:
smbclient ///
- Connect to a share using a specific workgroup:
smbclient ///
- Download a file from a specific directory on a share:
smbclient /// 'get '
- Upload a file to a specific directory on a share:
smbclient /// 'put '
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
