Lalitkumar Yeladi
Lalitkumar Yeladi

Reputation: 3

how can i know on which flavour of linux i was using through command

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.

Upvotes: 0

Views: 1428

Answers (3)

Venkatesh Karrolla
Venkatesh Karrolla

Reputation: 1

Run the following command in the shell to know the distribution/flavour of linux.

  1. lsb_release -a to check the current distribution of linux.

Additionally you can run the following to know more details about the underlying linux kernel.

  1. uname -a - to know the linux kernel-version whole info
  2. uname -r - to know the linux kernel-version

Upvotes: 0

delvetwelve
delvetwelve

Reputation: 46

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

Upvotes: 1

MacHala
MacHala

Reputation: 2429

on most distros should work the command:

lsb_release -a

Upvotes: 0

Related Questions