Guest User

Untitled

a guest
May 1st, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. sudo cp /home/adam/file.txt smb://nas/main/
  2.  
  3. sudo cp /home/adam/file.txt /media/networkdrive
  4.  
  5. sudo apt-get install cifs-utils
  6.  
  7. sudo mount -t cifs -o <Options> //<Server>/<Sharename> <Mountpoint>
  8.  
  9. sudo mount -t cifs -o credentials=~/.smbcredentials //nas/shared_folder /media/nas_shared
  10.  
  11. username=<username of the share>
  12. password=<password of the share>
  13.  
  14. //<Server>/<Sharename> <Mountpoint> cifs credentials=/home/user/.smbcredentials 0 0
  15.  
  16. mount
  17.  
  18. lsblk
Add Comment
Please, Sign In to add comment