Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Meaning of these directories in Ubuntu and WSL

Please help me understand what these directories mean.

I have WSL(Windows Subsystem for Linux), Powershell and Ubuntu. I'm on Windows 10.

1. I'm in Powershell ---> "c:\users\<myname>". This is my Windows folder, correct?
2. When I type "wsl.exe", I'm not in Windows Subsystem for Linux", correct?

User generated image
3. I do "ls" or "dir" and I see these. These folders are all the directories in my WSL c drive?

User generated image


4. Now I go to Ubuntu terminal. This is my Windows C drive. I see all the folders I have
User generated image
5. I type this -->cd ../.. and now I see these directories. What's the difference between this and what I'm seeing in step #3? they're different directories but below is not on WSL?
User generated image


SOLUTION
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

Thanks. Let me read your answer to get a better understanding. I'll post back. 
This is what I still don't understand...

Why don't I see the same folders and files in Powershell and Ubuntu?

1. For example, this one. How can I see this in Powershell?

User generated image
2. How can I see this in Ubuntu prompt?

User generated image


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. Let me read. I'll post back.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, serialband. I'll go over it at work on Wednesday to make sure I understand this.

>>When you run wsl.exe, you enter your linux environment

I always have to run wsl.exe first to enter the Linux environment on my Windows 10 and then start Ubuntu, correct?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks, just saw your message, serialband. Let me review this thread and get a better understanding. 
I understand it now. Thank you both for explaining this.