Yahoo Web Search

Search results

  1. Oct 25, 2007 · Method 2. Use lsb_release command To find out Linux distribution name and version. The lsb_release command displays certain LSB (Linux Standard Base) and distribution-specific information. Type the following command: $ lsb_release -a. Sample outputs: No LSB modules are available. Distributor ID:Debian.

  2. Jun 14, 2014 · If somebody needs the distro as well: #!/usr/bin/env bash LINUX_VERSION_NAME=`lsb_release -sr` # Distribution specific installation if [[ ${LINUX_VERSION_NAME} == "18.04" ]] then echo "It is: ${LINUX_VERSION_NAME}" else echo "It is not ${LINUX_VERSION_NAME}" fi Output: It is: 18.04 Change to: lsb_release -sc to get the distro:

  3. Arch Linux is an independently developed, x86-64 general-purpose Linux distribution that strives to provide the latest stable versions of most software by following a rolling-release model. The default installation is a minimal base system—configured by the user to only add what is purposely required. Distribution.

  4. Mar 18, 2024 · Conclusion. We’ve learned multiple ways to check the Linux distro with the command line. In either case, the choice of one method depends on our goal. For a quick view of the distro and system features, we suggest hostnamectl or rpm -qi <distro name>-release (in case of using a distro from the RHEL family).

  5. Dec 28, 2014 · The easiest and simplest way to see the Linux distribution name and the version number is also the one that works on almost every type of Linux. Just open up a terminal and type in the following: cat /etc/issue. You'll be presented with output similar to the screenshot at the beginning of this article, which will look something like this:

  6. As a first guess, try lsb_release -a. E.g. on an Arch Linux system it gives. LSB Version: n/a Distributor ID: archlinux Description: Arch Linux Release: rolling Codename: n/a. However, this might fail, then you will have to poke around /etc (most likely it is inside a file whose name ends with -release).

  7. People also ask

  8. The simplest way to check Linux version is to see the content of the /etc/os-release file: It will show an output similar to this: As you can see, the Linux name is Ubuntu and the version is 20.04.1. However, that's not the only way to know the Linux distribution details. In this beginner's tip, I'll show you different ways to check which Linux ...

  1. People also search for