Advertisement
metalx1000

samba smb network share

Oct 20th, 2022
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. sudo apt install smbnetfs smbtree smbclient
  2.  
  3. mountdir="/media/$USER/smb"
  4. sudo mkdir /media/$USER/smb
  5. sudo chown $USER:$USER $mountdir
  6.  
  7. sudo mount -t cifs -o vers=2.0,user=<USERNAME> //<SERVER IP>/<FOLDER> $mountdir
  8.  
  9. cd $mountdir
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement