0

It is possible that i should know the flavor of Linux through command-line

if i run the following command

$ uname -s output is

Linux

it just showing "Linux" and but not flavor name of Linux.

Alex Poole
  • 183,384
  • 11
  • 179
  • 318
  • 3
    Possible duplicate of [How do I identify the particular Linux flavor via command line?](https://stackoverflow.com/questions/13036048/how-do-i-identify-the-particular-linux-flavor-via-command-line) – Ali Jun 03 '17 at 07:23
  • Possible duplicate of [Best way to find os name and version in Unix/Linux platform](https://stackoverflow.com/questions/26988262/best-way-to-find-os-name-and-version-in-unix-linux-platform) – funky-future Jun 03 '17 at 11:05

2 Answers2

1

Have you tried cat /etc/*-release ?

Other commands that might work:

cat /etc/system-release # I believe mostly Red Hat based distro

cat /proc/version
0

on most distros should work the command:

lsb_release -a
MacHala
  • 2,159
  • 1
  • 15
  • 18