• Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us
TecAdmin
Menu
  • Home
  • Ubuntu 18.04
    • Whats New?
    • Upgrade Ubuntu
    • Install Java
    • Install Node.js
    • Install Docker
    • Install Git
    • Install LAMP Stack
  • Tutorials
    • AWS
    • Shell Scripting
    • Docker
    • Git
    • MongoDB
  • Funny Tools
  • FeedBack
  • Submit Article
  • About Us

How to Mount Remote Windows Share on Linux

Written by Rahul, Updated on December 3, 2015

You must be aware about share folders and use it time to time. This is useful for accessing remote directories from any system connected over same network. You can also mount these remote share on your Linux systems and use them as local file system. This tutorial will help you do mount remote windows share directories on Linux system using command line.

Mount Remote Windows Share on Linux

Use the following steps to mount remote windows shared directory on Linux file system hierarchy. For this command you must have following things 1) Remote system IP or FQDN, 2) Remote share name, 3) Username and Password for authentication.

  • Create Mount Point – You can use any existing directory to mount remote share or create separate directory for mounting remote shared directory.
    $ mkdir /mnt/win1
    
  • Mount Remote Share – Now use the following command to mount remote share directory on local file system.
    $ mount -t cifs //10.10.1.100/share -o username=myUser,password=myPassword /mnt/win1
    

    Command Explanation:-

    • -t cifs :- File system type to be mount. Earlier versions of operating systems uses smbfs
    • -o :- is used to pass command line options to mount command, For example in above command we passed username and password in command which is required to connect remote share
    • //10.10.1.100/share :- IP Address and share name of remote Windows 2000/NT system
    • /mnt/win1 :- Linux mount point where we can access remote files

Share it!
Share on Facebook
Share on Twitter
Share on LinkedIn
Share on Reddit
Share on Tumblr
Share on Whatsapp
Rahul
Rahul
Connect on Facebook Connect on Twitter

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

1 Comment

  1. Avatar steven Reply
    January 26, 2020 at 6:49 pm

    usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type]
    mount [-dfpruvw] special | node
    mount [-dfpruvw] [-o options] [-t ufs | external_type] special node

    error message i get

Leave a Reply Cancel reply

Popular Posts

  • How To Install Python 3.9 on Ubuntu 20.04 5
  • How to Install Python 3.9 on CentOS/RHEL 7 & Fedora 32/31 0
  • How To Install VNC Server on Ubuntu 20.04 1
  • How To Install NVM on macOS with Homebrew 0
  • How to Install .NET Core on Debian 10 0
© 2013-2020 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy