09-03-2004
If you're looking to an alternative to Linux, then I'm assuming you're looking for a version of Unix that'll install on x86 architecture, right? That'll limit your choices somewhat. I don't really hear much about any versions of Unix that are great for x86. I know Solaris will run on x86, but I don't think it's something you'd want in a production environment. It's more for academic interest, IMO. I think FreeBSD/OpenBSD/Linux are pretty much the best choices for x86 architecture. What you learn to do with Perl on any of those will be applicable to any other version of Unix, since it's pretty portable among the Unixes.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I am completely new to this forum but it say's it's for complete newbies too :)
I have some questions:
1: I want to learn Linux and some basic Unix commands. Is it best to install a text version of Linux/Unix? (to get to know the commands, instead of a shell app)
2: Are there... (8 Replies)
Discussion started by: Mecallie
8 Replies
2. Solaris
I have an Ultra 60, running Solaris 5.8. During boot all of a sudden it dies after Yp comes up then the netmasks are set and then I don't see anything any more. How do I tell whats causing it to hang at this point. I can login to it but can't tell what preocess is hung. /var/adm/messages has no... (7 Replies)
Discussion started by: frankkahle
7 Replies
3. UNIX for Dummies Questions & Answers
So I am ridiculously new to UNIX. The closest thing to it I use is Mac OS X. Recently I downloaded OpenDarwin 7.2.1 just to see what it was like. I popped it into Vmware, installation and boot work well, and I login.
Now I am presented with a console. I'm generally okay with command line... (2 Replies)
Discussion started by: sinister
2 Replies
4. UNIX for Dummies Questions & Answers
This is my first post here, I tried searching the forum and other sites as well - but I still couldn't figure out exactly what UNIX is. I mean like for C programming we Turbo C++ IDE, and in same way different platforms for other languages.
What do we use for UNIX? I'm completely new to UNIX and... (2 Replies)
Discussion started by: j7x
2 Replies
5. What is on Your Mind?
In honor of the anniversary of one of the best British shows (and memoriam of Graham Chapman)...
npjOSLCR2hE
9ZlBUglE6Hc (1 Reply)
Discussion started by: pludi
1 Replies
6. UNIX for Advanced & Expert Users
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies
7. Shell Programming and Scripting
Version: AIX 6.1 (korn shell)
In the below output, the field with the heading 'Address' has some names like
hwproc214-priv1.gnas.wrd.netwhich are only partially displayed.
$ netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en2 1500 link#2 ... (3 Replies)
Discussion started by: polavan
3 Replies
8. Shell Programming and Scripting
Hello,
I know find can be prevented from recursing into directories with something like the following...
find . -name .svn -prune -a type d
But how can I completely prevent directories of a certain name (.svn) from being displayed at all, the top level and the children?
I really... (2 Replies)
Discussion started by: nwb123
2 Replies
9. Solaris
I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 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)