Advertisement
Templario_7777

Mount a Remote SMB Shared Resouce

Feb 5th, 2024
963
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1.  
  2. sudo apt -y install smbclient cifs-utils
  3.  
  4. sudo mount -t cifs -o vers=3.0,username=myuser '\\REMOTE_IP\Folder' /mnt (/mnt /directory source)
  5.  
  6. df -hT
  7.  
  8. sudo umount -l //REMOTE_IP/Folder
  9.  
  10. df -hT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement