Skip to content

Commit 26d4750

Browse files
alexandaircraigloewen-msft
authored andcommitted
Fix an Ubuntu version
18.01 --> 18.04
1 parent cb8a61e commit 26d4750

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WSL/tutorials/wsl-git.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Git is the most commonly used version control system. With Git, you can track ch
1313

1414
## Git can be installed on Windows AND on WSL
1515

16-
An important consideration: when you enable WSL and install a Linux distribution, you are installing a new file system, separated from the Windows NTFS C:\ drive on your machine. In Linux, drives are not given letters. They are given mount points. The root of your file system `/` is the mount point of your root partition, or folder, in the case of WSL. Not everything under `/` is the same drive. For example, on my laptop, I've installed two version of Ubuntu (20.04 and 18.01), as well as Debian. If I open those distributions, select the root directory with the command `cd ~`, and then enter the command `explorer.exe .`, Windows File Explorer will open and show me the directory path for that distribution.
16+
An important consideration: when you enable WSL and install a Linux distribution, you are installing a new file system, separated from the Windows NTFS C:\ drive on your machine. In Linux, drives are not given letters. They are given mount points. The root of your file system `/` is the mount point of your root partition, or folder, in the case of WSL. Not everything under `/` is the same drive. For example, on my laptop, I've installed two version of Ubuntu (20.04 and 18.04), as well as Debian. If I open those distributions, select the root directory with the command `cd ~`, and then enter the command `explorer.exe .`, Windows File Explorer will open and show me the directory path for that distribution.
1717

1818
| Linux distro | Windows Path to access home folder |
1919
| ----------- | ----------- |
2020
| Ubuntu 20.04 | `\\wsl$\Ubuntu-20.04\home\username` |
21-
| Ubuntu 18.01 | `\\wsl$\Ubuntu-18.04\home\username` |
21+
| Ubuntu 18.04 | `\\wsl$\Ubuntu-18.04\home\username` |
2222
| Debian | `\\wsl$\Debian\home\username` |
2323
| Windows PowerShell | `C:\Users\username` |
2424

0 commit comments

Comments
 (0)