Transfer files between Ubuntu & Windows OS under same LAN
Oct 25, 2020
On Linux:
sudo apt install samba
sudo smbpasswd -a <username>
mkdir /home/<username>/UbuntuSharedDir
sudo nano /etc/samba/smb.conf
Add the following lines at the end of the file:
[UbuntuSharedDir]
path = /home/<username>/UbuntuSharedDir
available = yes
valid users = <username>
read only = no
browsable = yes
public = yes
writable = yessudo service smbd restart
Grab your Ubuntu IP address using ifconfig command
On Windows:
Go to Run and type:
\\<Ubuntu_IP_Address>\UbuntuSharedDir