FTP-like client to access SMB/CIFS resources on servers. More information: https://manned.org/smbclient.
exit
to quit the session):smbclient {{//server/share}}
smbclient {{//server/share}} --user {{username}}
smbclient {{//server/share}} --workgroup {{domain}} --user {{username}}
smbclient {{//server/share}} --user {{username%password}}
smbclient {{//server/share}} --directory {{path/to/directory}} --command "get {{file.txt}}"
smbclient {{//server/share}} --directory {{path/to/directory}} --command "put {{file.txt}}"