How to check Linux OS version

Check kernel version

$ cat /proc/version
Linux version 5.0.0-37-generic

Debian

$ cat /etc/debian_version
10.2

Ubuntu

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENATE=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

Cent0S

$ cat /etc/redhad-release
CentOS Linux release 7.7

My Mac virtual machine only contains 3 Linux, so that's it for this time. It will be updated when other Linux is installed.

Recommended Posts

How to check Linux OS version
How to check the version of Django
How to check opencv version in python
Check Linux kernel version
Tabpy 1.0 (2020-01 version) How to install
How to change Python version
How to check the Java version used by Maven
How to create a local repository for Linux OS
How to install wkhtmltopdf (Amazon Linux2)
How to install VMware-Tools on Linux
How to get the Python version
How to install MBDyn (Linux Ubuntu)
Commands and files to check the version of CentOS Linux
How to set up and use OMC Log Analytics --Linux version -
How to build my own Linux server
[Linux] How to subdivide files and folders
How to install aws-session-manager-plugin on Manajro Linux
I want to know how LINUX works!
[Linux] How to use the echo command
How to use the Linux grep command
How to display emoji on Manjaro Linux
How to install packages on Alpine Linux
Tools used to check Linux network communication
How to operate Linux from the console
How to install Windows Subsystem For Linux
How to power off Linux with Ultra96-V2
How to install php7.4 on Linux (Ubuntu)
How to find large files on Linux
How to get started with laravel (Linux)
Django version check
[Linux] Introduction to Linux
[OpenLDAP] Version check
How to make an embedded Linux device driver (11)
How to make an embedded Linux device driver (8)
How to make an embedded Linux device driver (1)
[2020 version] How to install Python3 on AWS EC2
How to make an embedded Linux device driver (4)
Let's understand how to pass arguments (Python version)
Add Windows to the Linux OS boot menu
How to make an embedded Linux device driver (7)
How to make an embedded Linux device driver (2)
How to write regular expression patterns in Linux
How to specify TLS version in python requests
How to operate Linux from the outside Procedure
How to handle Linux commands well from Python
How to check / extract files in RPM package
How to create a shortcut command for LINUX
How to switch between Linux and Mac shells
How to make an embedded Linux device driver (6)
How to install Camunda Modeler on Manjaro Linux
How to build Java environment on Ubuntu (Linux)
How to make an embedded Linux device driver (5)
How to make an embedded Linux device driver (10)
How to make Linux compatible with Japanese keyboard
How to make an embedded Linux device driver (9)
How to check for missing values (Kaggle: House Prices)
How to use xml.etree.ElementTree
How to use Python-shell
OS and Linux distribution
How to use tf.data
How to use virtualenv