Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo cp /home/adam/file.txt smb://nas/main/
- sudo cp /home/adam/file.txt /media/networkdrive
- sudo apt-get install cifs-utils
- sudo mount -t cifs -o <Options> //<Server>/<Sharename> <Mountpoint>
- sudo mount -t cifs -o credentials=~/.smbcredentials //nas/shared_folder /media/nas_shared
- username=<username of the share>
- password=<password of the share>
- //<Server>/<Sharename> <Mountpoint> cifs credentials=/home/user/.smbcredentials 0 0
- mount
- lsblk
Add Comment
Please, Sign In to add comment