Discussion:
[linux-elitists] What other command lines besides uname let you know versions of things?...
Don Saklad
2013-07-31 13:56:47 UTC
Permalink
What other command lines let you know versions of things?... besides uname
Peter Lowe
2013-07-31 14:08:28 UTC
Permalink
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
strings?
--
This is not the .signature you are looking for. Move along.
http://pgl.yoyo.org/ | ***@yoyo.org
Bill Bogstad
2013-07-31 15:24:49 UTC
Permalink
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
If the developer of your software used a compatible VCS (and made use
of the capability), the SCCS what or RCS ident commands can be
used to query a binary for version information. Unfortunately, it
appears that most don't based on a scan of /bin & /usr/bin on a random
system.

Bill Bogstad
Tilghman Lesher
2013-07-31 16:34:15 UTC
Permalink
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
Another typical one is: cat /etc/issue. Most commands also have a
'--version' command line option nowadays (perl --version, gcc
--version).
Shlomi Fish
2013-07-31 16:59:41 UTC
Permalink
On Wed, 31 Jul 2013 11:34:15 -0500
Post by Tilghman Lesher
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
Another typical one is: cat /etc/issue. Most commands also have a
'--version' command line option nowadays (perl --version, gcc
--version).
There's also /etc/lsb-release and some distribution specific files such
as /etc/mageia-release or /etc/debian_version (IIRC).

Regards,

Shlomi Fish
Post by Tilghman Lesher
_______________________________________________
Do not Cc: anyone else on mail sent to this list. The list server is set for
maximum one recipient. linux-elitists mailing list
http://zgp.org/cgi-bin/mailman/listinfo/linux-elitists
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Beginners Site for the Vim text editor - http://vim.begin-site.org/

Sophie: Let’s suppose you have a table with 2^n cups…
Jack: Wait a second! Is ‘n’ a natural number?

Please reply to list if it's a mailing list post - http://shlom.in/reply .
Rick Moen
2013-08-23 02:01:12 UTC
Permalink
Post by Shlomi Fish
There's also /etc/lsb-release and some distribution specific files such
as /etc/mageia-release or /etc/debian_version (IIRC).
'Release Files' on http://linuxmafia.com/kb/Admin
--
Cheers, "Two women walk into a bar and discuss the Bechdel Test."
Rick Moen -- Matt Watson
***@linuxmafia.com
McQ! (4x80)
Tony Godshall
2013-08-19 23:34:51 UTC
Permalink
For versons of distro-installed packages, query the package manager,
e.g. dpkg -l
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
_______________________________________________
Do not Cc: anyone else on mail sent to this list. The list server is set for maximum one recipient.
linux-elitists mailing list
http://zgp.org/cgi-bin/mailman/listinfo/linux-elitists
--
--
Best Regards.
This is unedited.
Jason White
2013-08-20 06:55:05 UTC
Permalink
Post by Tony Godshall
For versons of distro-installed packages, query the package manager,
e.g. dpkg -l
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
Many programs support a --version option. Sometimes it's -v, -version or a
variant thereof - see manual pages for details.

For the version of your entire Linux distribution:
cat /etc/os-release

A quick check shows that it exists in Debian and Fedora; it's probably
mandated by the LSB or at least a common convention followed by a variety of
distributions.
Don Saklad
2013-08-20 00:22:43 UTC
Permalink
Post by Tony Godshall
For versons of distro-installed packages, query the package manager,
e.g. dpkg -l
Post by Don Saklad
What other command lines let you know versions of things?... besides uname
_______________________________________________
Do not Cc: anyone else on mail sent to this list. The list server is set for maximum one recipient.
linux-elitists mailing list
http://zgp.org/cgi-bin/mailman/listinfo/linux-elitists
Loading...