PDA

View Full Version : Determine running Knoppix version



Terra
09-20-2003, 09:36 AM
Is there a command or file that references the currently running version of Knoppix.

I've looked around in the usual places like:
/etc/issue
/etc/motd
uname -a
dmesg
/proc/version
...etc...

But nowhere can I find that I am currently running V3.2-2003-05-03

I would think that this would be stamped somewhere within the releases files or data.

Can someone point me in the right direction?

TIA.

paradocs
09-20-2003, 10:10 AM
Greetings Terra,

I read recently a method and thought it was so
nice I copied it down. Sorry I can't give credit --
as I cannot find the original post.

This will not work on a hard drive install.
The version has been placed in the fle
boot.img on the CD. This file is not installed
with a hd install.

With the CD in the drive we use grep to look for
the word BETA and return the line. Enter the
following from shell. Be sure the cdrom is mounted.


strings /mnt/cdrom/KNOPPIX/boot.img | grep BETA

I searched the KNOPPIX image for BETA and for RELEASE
and got no result. This would be a nice feature to have
standardized.

Best Wishes
paradocs

Terra
09-20-2003, 10:29 AM
That did the trick.

Thank you! :)