Mount shared folder on Windows 10 on Ubuntu 18.04

Before do that, You have to install dependencies in the case of Ubuntu 18.04.

sudo apt update
sudo apt install nfs-common
sudo apt install cifs-utils

Then, (replace username and password to your own)

mkdir ~/share
sudo mount -t  cifs //IP_ADDR/_sync_ ~/share -o user=USERNAME,pass=PASSWORD,dir_mode=0777,file_mode=0777

# e.g. sudo mount -t  cifs //192.168.3.19/share ~/share -o user=user,pass=foobar,dir_mode=0777,file_mode=0777


Articles maybe related

How to run scripts when rebooted/startup on Ubuntu 18.04


Close Menu