mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
smbclient: add page
This commit is contained in:
parent
7fac214286
commit
17d346e227
1 changed files with 19 additions and 0 deletions
19
pages/linux/smbclient.md
Normal file
19
pages/linux/smbclient.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# smbclient
|
||||
|
||||
> FTP-like client to access SMB/CIFS resources on servers.
|
||||
|
||||
- Connect to a share (`exit` to quit the session):
|
||||
|
||||
`smbclient {{//server/share}}`
|
||||
|
||||
- Connect with a username and password:
|
||||
|
||||
`smbclient {{//server/share}} --user {{username%password}}`
|
||||
|
||||
- Download a file from the server:
|
||||
|
||||
`smbclient {{//server/share}} --directory {{path/to/folder}} --command "get {{file.txt}}"`
|
||||
|
||||
- Upload a file to the server:
|
||||
|
||||
`smbclient {{//server/share}} --directory {{path/to/folder}} --command "put {{file.txt}}"`
|
Loading…
Add table
Reference in a new issue