-1

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 ?

K7AAY
  • 17,202

1 Answers1

0

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

K7AAY
  • 17,202