I'm new to the Ubuntu world and I need some help. (Windows 10, Ubuntu 18.04 LTS, x64 system type) I created a directory called "Submarine" using this :

mkdir Submarine

I want the directory "Submarine" to be located in "Documents" (as circled in red on

enter image description here

But the directory has been located in a whole other place

enter image description here

By the way, if I type :

cd Documents/

The terminal says that there's no such file or directory

enter image description here

What should I do to create files and directories in the place I want ?

  • 1
    please do not use images and copy the text that is important (ie. the directory you highlighted). That way we can copy/paste it ;) – Rinzwind Dec 26 '19 at 15:53

You have Windows Subsystem for Linux which runs Ubuntu, different from a dual-boot installation where you are running either the Windows OS or the Ubuntu OS. WSL stores anything you make into a directory somewhere under your User directory. That's why your directory placed under c:\Utilisateurs\Elève\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows...

Your Documents folder of Windows actually is c:\Utilisateurs\Elève\Documents .

Specifics on using WSL and creating files and directories are shown in https://superuser.com/questions/1127307/create-folder-from-windows-then-access-from-bash-in-windows-10-wsl

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.