LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-11-2007, 08:41 AM   #1
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Rep: Reputation: 32
Display distro version on console


Hi all,

How can I display on the console what distribution is running? Or is there any other file where this is being specified? I need to know a way to check the distribution and the exact version.

Thanks in advance!
 
Old 07-11-2007, 10:07 AM   #2
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Code:
 

ken@ubuntu:~$ uname -a
Linux ubuntu 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux

ken@ubuntu:~$ uname -r
2.6.20-16-generic

ken@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 7.04
Release:        7.04
Codename:       feisty
Not sure which one you want exactly, but there's the commands/outputs of all the commands I know that give out info about your distro and its kernel.

IGF
 
Old 07-11-2007, 10:22 AM   #3
Panagiotis_IOA
Member
 
Registered: Jan 2006
Location: Hellas, Europe
Distribution: Slackware 12
Posts: 238

Original Poster
Rep: Reputation: 32
IndyGunFreak, thanks for your reply. What I was looking for was something like lsb_release -a. It seems that it does what I want... Only it's not installed by default in every distribution, or I think so...
 
Old 07-11-2007, 10:47 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Sometimes
Code:
cat /etc/*-release
will work. It seems to be fairly common too...
 
Old 07-11-2007, 02:39 PM   #5
iman_idiotte
LQ Newbie
 
Registered: Jul 2007
Posts: 3

Rep: Reputation: 0
Thanks pwc101

Quote:
Originally Posted by pwc101
Sometimes
Code:
cat /etc/*-release
will work. It seems to be fairly common too...

Thanks pwc101
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual console does`t display sunday98 Debian 2 12-25-2004 07:47 PM
Console display problem corbis_demon Linux - Newbie 1 09-07-2004 01:55 PM
Console display error darin3200 Linux - General 2 08-12-2004 04:38 PM
display chinese in console skyevil Debian 1 09-12-2003 06:01 AM
console version of serviceconf? omarswan Linux - General 1 08-28-2002 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration