You Asked: How Do I Know If I Have Linux Ubuntu?
Contents How Do I Tell What Version of Linux I Have? Open a Terminal Program (Get to a Command Prompt) and Type Uname -A. This Will Give You Your Kernel...
Contents
How do I tell what version of Linux I have?
Open a terminal program (get to a command prompt) and type uname -a. This will give you your kernel version, but might not mention the distribution your running. To find out what distribution of linux your running (Ex. Ubuntu) try lsb_release -a or cat /etc/*release or cat /etc/issue* or cat /proc/version.
Must Read
How do I know if my OS is Ubuntu or Centos?
13 Answers
- Use /etc/os-release awk -F= ‘/^NAME/{print $2}’ /etc/os-release.
- Use the lsb_release tools if available lsb_release -d | awk -F”t” ‘{print $2}’