linux distro code example

Example 1: get linux distro from terminal

dmesg | head -1

Example 2: what are the linux distributions

What are the Linux distributions?

Some distros:
Ubuntu, Elementary OS, Fedora, Arch Linux, Kabuntu, Deepin, Ubuntu MATE, 
Debian, Gentoo, Linux Mint, Red Hat Enterprise Linux, CentOS, Kali Linux, 
OpenSUSE, and many more...

The most popular:
1. Ubuntu
+ Very accessible for novices, good security and stability. 

2. Elementary OS
+ Smart design and looks great, excellent desktop environment.
+ It kind of looks like macOS.
+ It comes with a limited range of essential apps, including the 
  Epiphany browser, an email client.
- Not many preinstalled apps.

3. Linux Mint (my favourite is the desktop environment Xfce) 
+ Good for beginners, it comes with a lot fo software you'll need when
  switching from Mac or Windows. 
+ Good media support, you can play videos, DVDs and MP3 music files out
  of the box. 
+ Impressive customization options, you can choose Cinnamon(the most popular),
  MATE(runs faster, uses less resources and more stable than Cinnamon),
  or Xfce(very light weight and will run on almost any PC).

4. openSUSE
+ Very polished distro, looks professional.
+ Nicely secure, it's aimed at system administrators, very good security.
+ The SUSE Studio Express website allows you to create your own version of the 
  OS, complete with customised preinstalled software packages, desktop and
  system settings.

5. CentOS
+ Built for stability.
+ Ideal for servers.
- Not so great for daily desktop usage.

6. Arch Linux
+ Massive potential for customization.
+ For advanced users.
+ User-friendly distro.

Example 3: linux distros

Top 10 Linux Distribution for using on Desktop

1. Elementroy OS
2. Linux Mint
3. Ubuntu
4. CentOS
5. ArchLinux
6. OpenSUSE
7. Ubuntu Studio
8. Qubes OS
9. Tails
10. Steam OS

Example 4: linux distros

How does OpenSUSE get there. I don't want to use that. Rewrite something better @Clusmy