How to determine which kernel is booted?
Darrin Chandler
dwchandler at stilyagin.com
Fri Aug 25 10:03:49 MST 2006
On Fri, Aug 25, 2006 at 09:53:17AM -0700, Craig White wrote:
> On Fri, 2006-08-25 at 09:42 -0700, Eric "Shubes" wrote:
> > Craig White wrote:
> > > On Fri, 2006-08-25 at 09:26 -0700, joe at actionline.com wrote:
> > >> .
> > >> Is there a command one can use (or a file one can view)
> > >> to determine what kernel is currently booted?
> > > ----
> > > uname -r
> > >
> > > Craig
> >
> > Good one, Craig. I typically do uname -a, then sort it out!
> ----
> so do I but since he was specific, I thought perhaps he wanted
> specificity - i.e., to populate a report or something.
Yes, it's very handy. I have some scripts using that and other tidbits
from uname. Dealing with multiple versions and architectures is much
simpler that way.
--
Darrin Chandler | Phoenix BSD Users Group
dwchandler at stilyagin.com | http://bsd.phoenix.az.us/
http://www.stilyagin.com/ |
More information about the PLUG-discuss
mailing list