Reputation: 3
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
Reputation: 1
Run the following command in the shell to know the distribution/flavour of linux.
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.
uname -a
- to know the linux kernel-version whole infouname -r
- to know the linux kernel-versionUpvotes: 0
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