To share files between Windows and Unbundu

in #technology8 years ago (edited)

I once installed a VM with Unbundu in my host windows 10 system. Having downloaded a huge file of 50GB, I wanted to share this file with host windows system. This is how to achieve it.

Step 1: Go to unbuntu and download samba:

sudo apt-get install samba

Step 2: Setup password with existing account, holroyd is my account in unbundu:

smbpasswd -a holroyd

Step 3: make a fold in which you want to share your files:

mkdir ~/Desktop/Share

Step 4: open the linux config file for samba:

/etc/samba/smb.conf

scroll down to the end of the file and add lines like this:

[share]
path = /home/holroyd/share
available = yes
valid users = holroyd
read only = no
browsable = yes
public = yes
writable = yes

Save up this file.

Step 5: execute the command to make the configuration work:

sudo service smbd restart

To visit this fold from Windows:

Step 1: check your ip address in unbundu:

ifconfig -a

Step 2: access the fold like this:

\ipaddress\share fold

in my circumtance, it should be:

\\172.23.243.218\share
Sort:  

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by jrswab from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP. Be sure to leave at least 50SP undelegated on your account.

Great tutorial! I love seeing other Linux users sharing their knowledge here on steem. <3

Thanks