Timeline for Check WSL version (1 or 2) *inside the Linux installation*
Current License: CC BY-SA 4.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 25, 2021 at 9:21 | history | edited | DuncG | CC BY-SA 4.0 |
added 233 characters in body
|
Feb 25, 2021 at 9:12 | comment | added | DuncG |
Changing the grep to egrep "\b$WSL_DISTRO_NAME\s+Running" should help fix that so that similarly named distributions are filtered
|
|
Feb 24, 2021 at 19:55 | comment | added | Charles Roper | This doesn't work properly if there is more than one distro that contains the same name. E.g., I have a distro called Ubuntu and another called Ubuntu-20.04 both on WSL2 and I get two 2s returned (one for each distro). | |
Feb 22, 2021 at 17:27 | vote | accept | lucasvc | ||
Feb 22, 2021 at 17:13 | comment | added | lucasvc | Good catch! Inception style :P | |
Feb 22, 2021 at 12:30 | history | edited | DuncG | CC BY-SA 4.0 |
added 10 characters in body
|
Feb 22, 2021 at 12:11 | comment | added | DuncG | I've replaced the answer, but am not able to test fully as I've only one distro installed. | |
Feb 22, 2021 at 12:06 | history | undeleted | DuncG | ||
Feb 22, 2021 at 12:06 | history | edited | DuncG | CC BY-SA 4.0 |
added 123 characters in body
|
Feb 22, 2021 at 11:44 | history | deleted | DuncG | via Vote | |
Feb 22, 2021 at 11:44 | comment | added | DuncG | I misread question | |
Feb 22, 2021 at 11:29 | comment | added | lucasvc | The could not say anything related to WSL version 1 or 2, so does not help. | |
Feb 22, 2021 at 11:25 | review | Low quality posts | |||
Feb 22, 2021 at 11:51 | |||||
Feb 22, 2021 at 11:07 | history | answered | DuncG | CC BY-SA 4.0 |