12-13-2005
Thanks all.
Here is another way from my system (but may not always be effective):
>cat /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon)
Kernel \r on an \m
This is the banner which is displayed for the login getty.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: davegeysemans
2 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: brian.wilson
2 Replies
3. Solaris
Is there a way I can determine the LOM version on a Sun machine without actually shutting the system down? I'm confused. :) (2 Replies)
Discussion started by: sysera
2 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: the_learner
1 Replies
5. Linux
Hi, Why is there many different Linux names and SO instead to be only one? What are the differences?
Paul Weinstock (3 Replies)
Discussion started by: Paul Weinstock
3 Replies
6. Shell Programming and Scripting
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)
Discussion started by: aish11
2 Replies
7. Linux
Is there a linux version of IE? (5 Replies)
Discussion started by: billcrosby
5 Replies
8. Shell Programming and Scripting
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)
Discussion started by: colinjohnson
1 Replies
9. Shell Programming and Scripting
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)
Discussion started by: jamarsh
1 Replies
10. Red Hat
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
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)
NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)