Linux Command To Check OS Version
Chapter:
Linux Commands
Last Updated:
25-10-2019 12:57:18 UTC
Program:
/* ............... START ............... */
root@kali:~# cat /etc/os-release
root@kali:~# cat /etc/*release /* Commmand will give all details regarding OS */
/* ............... END ............... */
Output
Notes:
-
Linux command to view OS version is : $cat /etc/os-release
- You can also give $cat /etc/*release which will give more details regarding the OS.
- $uname -a will give the details of linux kernel information.
- For more information you can refer the program section for more clarification.