odoland odoland -4 years ago 240
Linux Question

How to access Windows directories inside ubuntu bash

How to access a file, say test.c, from the Windows 10 Desktop on the Ubuntu Bash shell.

Answer to this question:
BASH and Ubuntu subsystem in Windows 10

I can't comment (less than 50 reputation), and I can't answer it (question was put on hold), and I can't directly message the OP. So I thought I'd share the answer here for maybe a more reputation user can forward to him. Thanks!

Answer Source

On terminal

cd /mnt/c/Users/

or cd /mnt/d or any other drive

Then you can just move the files to the linux home directory

mv /mnt/c/Users/path/to/file/ ~/
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download