LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-27-2007, 06:00 AM   #1
chachan007
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Question How to find the kernel version


Hi folks,

How i can find the kernel version which is running once i logged into the system? Is there any shell command available for this? kindly help.....
 
Old 01-27-2007, 06:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
run "uname-a"
 
Old 01-27-2007, 06:41 AM   #3
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
while
Code:
uname -a
gives you everything, it is a little bit tougher to get the actual version out(say, in a script).
Code:
uname -r
will give you only the kernel version.
 
Old 02-02-2007, 08:07 AM   #4
chachan007
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Samoth
while
Code:
uname -a
gives you everything, it is a little bit tougher to get the actual version out(say, in a script).
Code:
uname -r
will give you only the kernel version.

Thanks a lot........
 
Old 02-02-2007, 11:01 AM   #5
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
There is also a way to modify the file used for login to display the version. You do this by modifying the /etc/issue file with the option /v

I know this is not easier then uname but I just wanted to post a way to have it display each time
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I find my kernel version? CrownAmbassador Linux - Newbie 3 08-26-2006 08:55 PM
How to find out your kernel version ned99 Linux - Newbie 3 01-24-2006 11:53 PM
Find out distribution + version (NOT: kernel version!) Tajci Red Hat 5 06-08-2005 03:17 PM
find kernel version... mahamkali Linux - General 1 12-05-2003 10:02 AM

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

All times are GMT -5. The time now is 01:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration