For those of you running Ubuntu under VirtualBox like me, you might want to know how to share folders between your host OS and Ubuntu.
It’s pretty simple, just go to Devices->Shared Folders, then add a shared folder like I did above with my D:\ drive on my host Windows 7 and named it “shared”.
Next, make a directory called /share:
sudo mkdir /share
mount it using the command:
sudo mount -t vboxsf share /share
Remember you can change /share in the above command to the any folder name you designated when you have added a new shared folder.
change directory to /share and enjoy:
I am really liking VirtualBox btw, I have been using VMWare most of my life but glad to start using more open-source software.