Linux – How to share files between Linux and Windows

file-sharinglinuxwindows

I am wondering, is there any way to easily share a folder between Linux and Windows?

Best Answer

Samba

If you want to share files stored on Linux Linux, install a Samba server on the Linux machine. Follow the documentation (Red Hat 6, CentOS 5, Ubuntu).

If you want to share files from Windows, your file manager on Linux can probably connect to a Windows share with no extra effort on your part. Try browsing smb:///. If you want access from the command line, run

mkdir /media/somedir
sudo mount -t cifs //servername/sharename /media/somedir

(If you need help on the Windows side, ask on a Windows site.)

Related Question