How do I share files between Linux and Windows? The easiest and most reliable way to share files between a Linux and Windows computer on the same local area network is to use the Samba file-sharing protocol. All modern versions of Windows come with Samba installed, and Samba is installed by default on most distributions of Linux.
How do I map a drive in Linux?
- Click the Start menu -> File Explorer.
- Click This PC.
- Click on Computer -> Map Network Drive.
- In the “Drive” drop-down box, choose the drive-letter you want to use for this particular directory.
- Type in the full path to the directory into the “Folder” field.
How access Windows share from Linux? Install CIFS-utils
The safest way to mount Windows-shared folders on Linux is to use the CIFS-utils package and mount the folder using the Linux terminal. This allows Linux machines to access SMB file shares used by Windows PCs. Once installed, you can then mount your Windows share folder from the Linux terminal.
How do you connect to a mapped network drive Linux?
- Open a terminal and type: sudo apt-get install smbfs.
- Open a terminal and type: sudo yum install cifs-utils.
- Issue the command sudo chmod u+s /sbin/mount.cifs /sbin/umount.cifs.
- You can map a network drive to Storage01 using the mount.cifs utility.