09-30-2003
Look above the box that contains this reply and examine the box that contains your question. Underneath your question is a button labeled "search". Click that button...you will find all of your posts.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ahhhh!!!!!!!!
All of my user accounts can no longer login. I suspected a corrupt passwd file, but everything looks OK and the passwd file works when I copy it to another system. All user accounts cannot login...they recieve a "No directory defined" error, but I can logon using root just fine. I... (13 Replies)
Discussion started by: jskillet
13 Replies
2. SuSE
I posted three specific queries relating to Suse earlier today but they've disappeared.
I originally incorrectly posted them in the Unix begiiners forum, edited them out from there and re-posted under Linux.
I'm guessing they've been mistaken for some kind of flood post as they have the same... (3 Replies)
Discussion started by: Mark Ward
3 Replies
3. What is on Your Mind?
:D anyone hear from ygor..?
haven't seen him post in a while... wonder what he is up to..!
the last i heard he was the D25khan.. that was him right guys ???
being a newbie myself that is one dude that i admire. him Norsk, Perdebro, RTM , Google and Zazzybob all real genius.. and the most... (2 Replies)
Discussion started by: moxxx68
2 Replies
4. Shell Programming and Scripting
The second script seems not to work. (3 Replies)
Discussion started by: endeavour1985
3 Replies
5. UNIX for Dummies Questions & Answers
I've been using a mkisofs line like this for years without problem
# mkisofs -J -R -V 'Vol Label' -o /output/path/FILE.ISO /input/path/
Now, however, it gives a UTR-8 character message at the start
INFO: UTF-8 character encoding detected by locale settings.
Assuming UTF-8... (0 Replies)
Discussion started by: Bobby
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I have created a dosrename script and it was working fine unitl today. I can't think what i have changed (don't think i have to be honest). The error is when i run the script it says the file i am trying to rename does not exist when it blatently does.
Or is it a typo when i run the... (4 Replies)
Discussion started by: jazz8146
4 Replies
7. Solaris
what happened to admintool in Solaris10? (2 Replies)
Discussion started by: mndavies
2 Replies
8. What is on Your Mind?
I just found the website coolerbooks.com a couple weeks ago. It was a site that had loads of free ebooks for download.
But now it seems to have been hijacked by some Microsoft search thing.
There was an article last year claiming it teamed with Google (the anti-Microsoft!) to offer the... (2 Replies)
Discussion started by: KenJackson
2 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)