How to Share Files Between Windows and Linux

To set up a shared folder on Linux for Windows to access, start with installing Samba.

sudo apt-get install samba

After Samba installs, configure a username and password that will be used to access the share.

smbpasswd -a geek