Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: AlabamaPaul on December 30, 2009, 10:08:59 AM

Title: Is /usr/share/doc/tc/release.txt the most reliable way to determine TC version
Post by: AlabamaPaul on December 30, 2009, 10:08:59 AM
I was wondering if /usr/share/doc/tc/release.txt the is most reliable way to determine TC version running ?

If not, how should I determine the version of TC in use ?

Thanks!
Title: Re: Is /usr/share/doc/tc/release.txt the most reliable way to determine TC version
Post by: bmarkus on December 30, 2009, 10:13:49 AM
Use 'version' command.
Title: Re: Is /usr/share/doc/tc/release.txt the most reliable way to determine TC versi
Post by: AlabamaPaul on December 30, 2009, 10:20:01 AM
I wasn't aware of version.

But looking at /usr/bin/version, all it does is cat /usr/share/doc/tc/release.txt.

Is the version command the preferred way to access this ?
Title: Re: Is /usr/share/doc/tc/release.txt the most reliable way to determine TC version
Post by: Jason W on December 30, 2009, 11:02:17 AM
Either use the version command, or the command "cat /usr/share/doc/tc/release.txt".  The result will be the same.
Title: Re: Is /usr/share/doc/tc/release.txt the most reliable way to determine TC versi
Post by: AlabamaPaul on December 30, 2009, 11:26:48 AM
Thanks!

I just wanted to avoid using a method that was deprecated.