How to identify kernel and distribution information

I’m sure you’ve been asking yourself such questions while you arrived in front of an unknowed environment: Which distribution is it ? What kernel does it use ?

Here after some commands to answer thoses questions.

Distribution Information:
[me@nowin ~]$ cat /etc/*-release
or
[me@nowin ~]$ lsb_release -a | grep "Description:"

Kernel Information:
[me@nowin ~]$ uname -prosi

Tested on Debian Squeeze and Fedora 14.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: