Linux Version Command
Chapter:
Linux Commands
Last Updated:
01-12-2020 14:09:10 UTC
Program:
/* ............... START ............... */
kali@kali:~$ cat /etc/*release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.2"
VERSION_ID="2020.2"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
kali@kali:~$ cat /proc/version
Linux version 5.5.0-kali2-amd64 ([email protected]) (gcc version 9.3.0 (Debian 9.3.0-10)) #1
SMP Debian 5.5.17-1kali1 (2020-04-21)
kali@kali:~$ uname -r
5.5.0-kali2-amd64
/* ............... END ............... */
Output
Notes:
-
By using the command cat /etc/*release user can view the version of details of linux OS.
- cat /proc/version give the details of Linux kernel version. In our case it is Linux version 5.5.0-kali2-amd64 ([email protected]).