Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine correct version of Distro #3

Closed
genifycom opened this issue Mar 24, 2020 · 3 comments
Closed

Determine correct version of Distro #3

genifycom opened this issue Mar 24, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@genifycom
Copy link

I followed the instructions and Amazon2 is the default

PS C:\WINDOWS\system32> wsl -l
Windows Subsystem for Linux Distributions:
Amazon2 (Default)

So to check the version, I used:

PS C:\WINDOWS\system32> wsl
-bash-4.2# uname -srm
Linux 4.4.0-18362-Microsoft x86_64
-bash-4.2#

Is this version correct for Amazon Linux?

Thanks

@genifycom
Copy link
Author

Do you know where .bashrc is located for the Amazon WSL distro?

The default directory drop me into /mnt/c/WINDOWS/system32 which is dangerous

@genifycom
Copy link
Author

cat /etc/os-release shows

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

So it looks like distro is good.

@yosukes-dev yosukes-dev added the question Further information is requested label Mar 26, 2020
@yosukes-dev yosukes-dev self-assigned this Mar 26, 2020
@yosukes-dev
Copy link
Owner

The kernel version depends on your Windows builds.

I close this issue because your question is for WSL, not for AmazonWSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants