Have A Info About How To Check The Linux Distribution
Here are a few ways to find out which linux distro you are using :
How to check the linux distribution. Here’s what you need to do: How to check if the running distribution is oracle linux or redhat. To check if the lsb_release command is installed run the following command.
So in this post we are listing out some common commands that are used to detect distro specific information on linux. Import platform import sys def linux_distribution(): This includes the distro name and version.
There are several cli commands to get the os linux info: Only distribution version can be printed by grepping the version_id line like below. The following command lists more comprehensive information about the version:
To check which version your wsl linux distribution or distributions are running, open a powershell terminal session and run the following command.