Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Virtual Machine, and I want to share some files with my computer. But I don't know how to access them.
In the settings of my VM, I added the repository that I want to share. After that I started my VM and I think that I have to use the "mount" command. I also think that the repository that I want is in /dev but I don't know which file after that.
This is the command that I think I have to use :
mount -t vfat /dev/something /media/sf-Documents
Can someone help me and tell me how I have to do to get the content of my folder on my computer please ?
Usually, it is sufficient to:
Install the Guest Additions
Enter the Settings -> Shared folders menu
Click on the "+" icon
Select "automatic mount"
Reboot the machine
You'll find the shared folder under the /media directory
This procedure is known to not work for some versions of the Guest Additions. In case, try a different version of VirtualBox (e.g., switch from 5 to the more stable 4 version).
At first, to share folder between Ubuntu machines: choose folder -> right click -> folder sharing(or in file Properties). You can access files on a remote computer using SSH: Install openssh-server on a computer you want to connect to
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
I've ran into a problem when trying to use an installed Linux bash shell instead of my Windows command prompt. I can't get my computer files to show on my Ubuntu terminal, even though when I repeat the same actions on my windows command prompt they seem to work.
I'm thinking there must be an issue with my installation, possibly I need to do a few more steps to get it to work like my regular command prompt terminal, but I'm not sure how to do this currently. I've added some screenshots above for additional context of me not finding my files in Ubuntu but being able to find them through windows command prompt.
It's because your linux home directory is most likely located outside of your windows user's home directory.
Use windows search to look for one of your ubuntu files (for example git_101) to determine where is your ubuntu home directory in relation to windows file system.
This can vary depending on how you installed ubuntu, but you might be able to access your windows filesystem via the /mnt directory as well. You can check that by running ls -lah /mnt.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying Linux UBUNTU on my windows system. I am knew in Linux UBUNTU.but I don't know that where I can find my files that were on windows 10.
In case you mean WSL Ubuntu:
Your Harddrives are mounted under /mnt/. I like to create a symbolic links to them in my home folder. The should be named like so:
/mnt/c # your C:\ drive
/mnt/s # your S:\ drive
...
In case you mean a Linux livesystem:
If you use a system with a graphical user interface, somewhere in your filemanager you should see the respective drive. Click on it and it should auto-mount. Afterwards you should be able to access your files just as you would expect via the filemanager.
In case you're in terminal mode (= you do not have any graphical user interface), things might get a little strange from a beginner's perspective. In this case I would recommend that you make yourself familiar with the rough structure of the linux filesystem and the commands mount, umount and sudo. Generaly said you will have to do the same thing your filemanager does for you. You mount the drive somewhere in the filesystem tree and then access the folder:
mount /dev/<drive> <directory> # mount your drive into the fs tree
cd <directory> # switch to that folder
ls # should display your drive's content
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am looking to remotely transfer a file from my Linux machine to a Windows machine. I have done some research and it appears that scp is what I want to use to achieve this. However... all of the code that I'm seeing appears to be using cygwin (or similar) that is already installed on the windows machine, hardly "remote." My two systems are completely separate and have their own unique IP addresses.
Filezilla or WinSCP will do the job. It's required only to have SSH server running on your Linux machine, enabled SSH port (tcp/22 by default) in firewall and your Windows computer must be able to reach the Linux host - you can try ping <Linux-machine-IP> from your Windows computer to verify.
If you want something else, you could configure Samba or probably WebDAV (httpd.apache.org/docs/2.4/mod/mod_dav.html), which allow you to mount your Linux directories as drives in Windows without additional tools. For example, your linux home /home/user can be mounted as Y: drive in Windows.
If you already have an ssh server on your Linux machine, I suggest using Filezilla, which comes with a GUI.
You just want to install the client on windows, don't bother with the server, a classic ssh server does the job.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
here is a window host ip is 192.168.8.1
i can telnet in this host from linux host 192.168.2.1 and name/pwd is test test
i want a shell script to login in window host(192.168.8.1),and copy d:/log to f:/log.
from linux host ,how to write this linux script .
I hava already tried to think,thank you for you to answer it.
You can install an ssh server on windows (for example OpenSSH)
Here a link of a tutorial: http://www.worldgoneweb.com/2011/installing-openssh-on-windows-7/
Then you can use the scp command from linux machine to copy your files. http://linux.die.net/man/1/scp
I would first ask if you have any other access to the windows host? Does it have a ftp server?
Is it or can it share drives? Assuming you need to transfer the file via the telnet session stream you can check out Kermit. It was originally written to work on serial lines, but can also work with telnet sessions. A version of kermit needs to be installed on both windows and linux. It works with binary files. It also changes line endings if needed. Another possibility is zmodem.
Old versions of kermit are public domain. Should be Ok. Newer versions are not. See http://www.omen.com/zmdmev.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I want to reset Fedora so it appears as it was reinstalled, but without the cd.
I have many issues with it so I want to start with a blank page ! :D
Is it posible to do this in fedora, without reinstalling it from cd ?
I dont want to save any files !!!
Only Possible if you have fedora running in Virtual Machine and have snapshot backup. Or you have full system backup.
It depends.
When you were using your Fedora distribution, were you using it as a regular (non-root) user? Or were you using it as the root user?
Non-root users are normally only allowed to modify files within their home directory. That means if you were using your Fedora as a non-root user, any changes you've made are confined to your home directory. You can simply delete that directory and recreate it, and the end result will be as if it's a new Fedora installation.