Transferring files from Windows to Ubuntu on the same machine

I work with PCs. So I installed Ubuntu on a Windows machine as I was told that I need a Linux system to be able to analyze my data. I have a file in a folder on this machine that I need to use Linux commands to work on. How do I use Ubuntu to access this file and work on it? I installed PuTTY and pscp, thinking I need to move the file to a folder in the Ubuntu part of the computer (so I can use Linux commands) but it is not clear how to do so. Can someone help, please? I am new to Ubuntu. Thanks.


First, I assume (same machine) you are using a virtual machine.

Then the connection in Ubuntu is quite simple.

Open Ubuntu File Explorer and look down in Other locations.

Lower right space: SMB://IPaddressofWindows/folder

See the screen shot below here and I have already made the connection .

Ubuntu connected to Windows

.

It is easier to map from Ubuntu to Windows (SMB) than from Windows to Ubuntu (SSH and Samba).

.

If using dual boot, just use a USB drive for file interchange between the two operating systems.

..

If you have Linux command line only (life is vastly easier with GUI) try this guide for SMB Client by command line. Pickier than what I posted earlier.

SMB by command

Use the smbclient command