2015-10-11

In a network where you have Windows and Linux Ubuntu operating system. It is bit difficult to share file between Ubuntu and Windows. The best way to share file between Ubuntu and Windows, you should install and configure Samba as file server in Ubuntu Linux. The Samba server will simply let you share files with Windows and Linux Ubuntu.

1. Installing Samba in Ubuntu

Samba is a free software re-implementation of the SMB/CIFS networking protocol. Samba provides file and print services for various Windows clients and can integrate with a Windows Server domain, either as a Domain Controller (DC) or as a domain member. So in this article we are using in Per-to-Per network between Windows clients and Linux Ubuntu clients.

To install Samba file server in Ubuntu Linux, run the terminal by pressing Ctrl+Alt+T keys to open Linux terminal command line interface.

Now type the “sudo apt-get install Samba” in order to install Samba file server. Type the password to start the installation.



Installing App In Ubuntu Linux

Remember; your Ubuntu machine must be connected to internet. Because this apt-get install command will install software from Ubuntu online software repository.

2. Share File Between Ubuntu and Windows

Let’s do how to share a file in Ubuntu through file explorer? Open the File and create a folder in Home directory. I have created Netdata folder and required to be share it.

Right click the Netdata folder and click Local Network Share. Select Share this folder.



Share File Between Ubuntu and Windows

To allow modification to files and folder for users, select Allow others to create and delete files in this folder. Also select Guest access (for people without a user account) to access files from Windows without requiring user and password.

2. Click Add the Permissions automatically to apply the permission to shared folder.



Add the Permissions automatically

If you want to set a password for shared folder, you shout set a user for Samba file server with “sudo smbpasswd -a Shais” command then type the password twice.

Set a Password to Samba File Server

Now it ask you user and password when someone want to access the shared folders. The the file sharing from Ubuntu Linux has completed successfully. Let’s test it from Windows 10 client.

3. Access Shared folders from Windows 10

You can access the Linux shared folders from Windows 10 using Network section. To simply access the shared folders type the \\IP address\Shared folders.

In Windows 10 type \\192.168.0.104\NetData and press enter to open the shared files of Linux Ubuntu.

Access Network Shared Files

2. When prompt for network credential, type the user name and password. If you did not set a password for Samba files server, it will not ask the network credentials.

Network Credentials

3. It’s all the contents of shared folder. You can create and delete files or edit the files.

Network Shared Files

To access the shared files quickly, create a shortcut link to a shared folder in Windows 10.

Create A Shortcut Link

Right click on the desktop and click New then click Shortcut.

Create Shortcut Link

Type the network address of shared folder in Type the location of the item: and click Next.

Type a name for Shortcut Link – Share File between Ubuntu and Windows

Type a name for shortcut related to the shared folders contents and click Finish to create the shortcut.

Linux Shared Files

Here is the shortcut link to the NetData shared folder of Ubuntu Linux. Double click to open it from your desktop. You can create a network Map drive also. To create network map drive, read this article How to Create Map Network Drive In Windows 10 and Server?

We hope this Share File between Ubuntu and Windows article helped you to share file between Ubuntu and Windows 10 easily like a pro Linux user.

The post How to Share File between Ubuntu and Windows 10? appeared first on Technig.

Show more