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.
1 Answer
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 .
.
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.
Use the smbclient command
-
Thank you, @John. Sorry for the delay in my response. You seem to have a GUI for Ubuntu, whereas I only seem to have a command line window with no menu or tabs.– SergeCommented Dec 9, 2021 at 16:57
-
I would like to show you an image of what I have but I don't seem to be able to add an image. Maybe because I'm new?– SergeCommented Dec 9, 2021 at 16:59
-
I added an SMB Client howto for you– anonCommented Dec 9, 2021 at 17:04
-
-
1You might want to see if you can add a GUI manager to your system (Gnome for example) to make things easier for yourself.– anonCommented Dec 9, 2021 at 17:40