Sharing files between Windows and Linux

This is a quick post on how to share files between your Windows file system and Linux. In this case I am running andLinux .

andLinux is an awesome complete Ubuntu Linux system running seamlessly in Windows 2000 based systems (2000, XP, 2003, Vista, 7; 32-bit versions only). You really need to check the link above if you havent already.

Anyhow back to the topic, thanks to John Strumila for this one.

First install the appropriate samba packages.

sudo apt-get install samba smbfs smbclient

Create a new directory for the mountpoint

mkdir /mnt/yourshare

Mount the share changing cifs to smbfs depending on your config

sudo mount -t cifs //your.shared.windows.path/name /mnt/yourshare -o user=domain/uid%password

Display the new share via the df command

df

You can now access the new shared mount :

ls -ltra /mnt/yourshare