How To Quickly Mount Windows Share From Terminal In Linux Mint / Ubuntu

2. After smbfs installation is complete, issue the following command at the terminal to create a local directory for mounting the Windows share to –

mkdir temp

(above command will create a directory called ‘temp’. You can choose any name you want.)

3. Now modify the permissions of the permissions of the directory that you created in step 2 by issuing the following command at the terminal –

chmod -R 777 temp/

4. Now, to mount the Windows share using the following command –

sudo smbmount //<Windows system host name / IP>/<Windows share name> /<path to the local directory that you created in step 2> -o username=<Windows user name who has read-write access to the Windows share>,rw