How Do I Map a Drive Network Share Using the Linux Terminal?
You need to install:
sudo apt-get install smbfs -y
then Create a directory on your machine to use as a mount point for the share:
sudo mkdir /media/yoursharename
exp. sudo mkdir /media/nas
then I use the mount command to map a windows share folder
from your NAS server to the mount point you just created:
sudo mount -t cifs -o username=nasserverlogin
//server/sharename /media/yoursharename
or
//server/sharename /media/yoursharename
or
sudo mount.cifs -o username=nasserverlogin
//server/sharename /media/yoursharename
You should now be to access the share from your /media/yoursharename mount point.
//server/sharename /media/yoursharename
You should now be to access the share from your /media/yoursharename mount point.
No comments:
Post a Comment