[linux-elitists] What other command lines besides uname let you know versions of things?...

Jason White jason at jasonjgw.net
Mon Aug 19 23:55:05 PDT 2013


Tony Godshall  <togo at of.net> wrote:
>For versons of distro-installed packages, query the package manager,
>e.g. dpkg -l
>
>
>On Wed, Jul 31, 2013 at 6:56 AM, Don Saklad <dsaklad at gnu.org> wrote:
>> 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.




More information about the linux-elitists mailing list