Does My Computer Have Linux?
Contents

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.

How do I know if I have Windows or Linux?

For example, you could be running Red Hat Linux using GNOME as the GUI. It is often better to use the console to determine what variant of Linux or Unix you are using. The uname command works with almost all variants of Linux and Unix. If the uname command works and you need version information, type uname -a.

How do you check which Linux is installed?

Type the following command into the terminal and then press enter:

  1. cat /etc/*release. mixed.
  2. cat /etc/os-release. mixed.
  3. lsb_release -d. mixed.
  4. lsb_release -a. mixed.
  5. apt-get -y install lsb-core. mixed.
  6. uname -r. mixed.
  7. uname -a. mixed.
  8. apt-get -y install inxi. mixed.

16 окт. 2020 г.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest