smbclient
smbclient is a client that can 'talk' to an SMB/CIFS server. It offers an interface similar to that of the ftp program. Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on.[1]
Documentation
- man 1 'smbclient' [EN]
Syntax
smbclient [SERVICE] [PARAMETER ...]
Parameters
- -U USERNAME[%PASSWORD], --user=USERNAME[%PASSWORD]
- Sets the SMB USERNAME or USERNAME and PASSWORD.
- If %PASSWORD is not specified, the user will be prompted. The client will first check the USER environment variable, then the LOGNAME variable and if either exists, the string is uppercased. If these environmental variables are not found, the username 'GUEST' is used.
References
- ↑ man 1 'smbclient'