Catting /proc/version or uname will only show you information that has been set for compile into the kernel. Only the major distributions will put some special marks for identification, in the form such as custom kernel version tag or gcc version string. But this is not necessarily true especially if the kernel is a self compiled kernel.
For example, here is the /proc/version from my Slackware server:
Nothing indicates it's Slackware. Many distributions put its version information in the form of a file in /etc, so you can use that as a heuristic to find out.
For instance, for a few old machines for which I currently have access:
Slackware: /etc/slackware-version
Mandrake: /etc/mandrake-release
Red Hat: /etc/redhat-release
Fedora: /etc/fedora-release
Is there a trick to determine the exact version from Unix that one is working with?
I would have expected to see it after logon, but all I get are some Copyright-messages...
I know it's some HP-UX, but I would like to know the version-number
Tnx in advance!
Dave (2 Replies)
I'm looking for a generic (i.e. would be resident in most/all unix flavors) internal command for determining my OS and version. When I telnet to a box here @ work, I get none of that info and can't remember the equivalent of the DOS ver command; I know I used to know this! Thanks. (2 Replies)
I want to know the distribution and version of linux that I am running:
uname -r gives me: 2.4.20-8bldsmp
uname -v gives me: #1 SMP Wed Sep 20 19:32:24 PDT 2006
Whats the distribution ?
and
whats the version ?
thanks !!! (1 Reply)
Hi
I have run the command uname -a
and i got the below output
Linux vm07 2.6.9-77.Emp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
i want know the version of Linux can i get it from above output
if yes then what is it?
is it 2.6.9-77.Emp? (2 Replies)
I currently have a shell script that utilizes the "Date" binary - this application is slightly different on OS X (BSD General Commmand) and Linux systems (gnu date). In particular, the version on OS X requires the following to get a date 14 days in the future "date -v+14d -u +%Y-%m-%d" where gnu... (1 Reply)
This is an odd question and I didn't really know what category it fits. I just installed Ubuntu 12.10. During the installation process, the screen informed me that Windows 7 was installed in a particular partition.
I'm just wondering how this was accomplished. Using 'fdisk -l' will indicate... (1 Reply)
Hi,
How to determine share name of Linux server ?
OS version is RHL 6.5
Regards,
Maddy (11 Replies)
Discussion started by: Maddy123
11 Replies
LEARN ABOUT DEBIAN
whohas
whohas(1)whohas(1)NAME
whohas - find packages in various distributions' repositories
SYNTAX
whohas [--no-threads] [--shallow] [--strict] [-d Dist1[,Dist2[,Dist3 etc.]]] pkgname
DESCRIPTION
whohas is a command line tool to query package lists from the Arch, Debian, Fedora, Gentoo, Mandriva, openSUSE, Slackware (and linuxpack-
ages.net), Source Mage, Ubuntu, FreeBSD, NetBSD, OpenBSD, Fink, MacPorts and Cygwin distributions.
OPTIONS --no-threads
Don't use multiple threads to query package lists (will be much slower)
--shallow
Limit to one call per server. Faster, but loses some information, typically package size and release date.
--strict
List only those packages that have exactly pkgname as their name.
-d Dist1[,Dist2[,Dist3 etc.]]
Queries only for packages for the listed distributions. Recognised values for Dist1, Dist2, etc. are "archlinux", "cygwin",
"debian", "fedora", "fink", "freebsd", "gentoo", "mandriva", "macports", "netbsd", "openbsd", "opensuse", "slackware", "sourcemage",
and "ubuntu".
pkgname
Package name to query for
FILES
whohas uses various files in ~/.whohas to cache package lists for some distributions.
SEE ALSO
See intro.txt or intro.html notes on using whohas.
AUTHORS
whohas is written and maintained by Philipp Wesche <phi1ipp@yahoo.com>
This man page was written by Jonathan Wiltshire <debian@jwiltshire.org.uk> for the Debian project and adapted for a new version by Philipp
Wesche <phi1ipp@yahoo.com>
Jonathan Wiltshire 0.29 whohas(1)