Sponsored Content
The Lounge What is on Your Mind? Difference between windows and linux? Post 302592505 by frappa on Tuesday 24th of January 2012 04:57:11 AM
Old 01-24-2012
Hi,

Did you try googling for it?
 

10 More Discussions You Might Find Interesting

1. Linux

What's better for running Windows software in Linux, Wine or Windows VMware?

What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies

2. UNIX for Dummies Questions & Answers

vnc over an ssh tunnel Linux to Linux to Windows

I *think* what I want to do is not only possible but easy, but as a "dummy" :) I can't figure it out. Here's what I have: Linux (Ubuntu 10.04) laptop that is not in my house, but has an Internet connection. Linux (Ubuntu 9.04) computer in my house that has unfettered access to the... (6 Replies)
Discussion started by: WesleyC
6 Replies

3. Shell Programming and Scripting

Execution difference in perl scripts for windows / AIX

Hi, I have perl script abc.pl which runs perfectly fine on windows ( execution from cmd). Now i tried to execute the same perl module on the AIX server after defining the captureoutput.pm and other relevant changes. But its behaving very weirdly as a portion of the URL which is formed by... (3 Replies)
Discussion started by: slayer0611
3 Replies

4. UNIX for Dummies Questions & Answers

Difference between windows and Unix

Hi all, can anyone share any URl or link which is about the main 20 advantages and features of unix over windows i mean i need camparison matrix between windows and any flavour of unix. thanks a lot in advance for sharing. Best Regards (4 Replies)
Discussion started by: younusdba
4 Replies

5. UNIX for Dummies Questions & Answers

difference between unix and linux

Hi I am new to linux I have dout waht is the difference between UNIX and LINUX Is there any soft for insatallation for UNIX OS Thanks (0 Replies)
Discussion started by: sanjaya
0 Replies

6. Linux

Difference between Windows and Linux

Hi, What is the difference between Linux and Windows? Thanks. (1 Reply)
Discussion started by: billcrosby
1 Replies

7. Linux

What is the difference between Linux and Windows?

Hi, What is the difference between Linux and Windows? Thanks. (5 Replies)
Discussion started by: billcrosby
5 Replies

8. Red Hat

Difference Redhat Linux/RH Enterprise Linux

what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies

9. UNIX for Beginners Questions & Answers

Difference between UNIX and Windows Disk storage

I have heard that UNIX disk storage is costlier than Windows Disk storage. Is that true? If not why we have limited storage on UNIX systems? Windows disk storage is so cheap nowadays. Is it not true for UNIX disks? (8 Replies)
Discussion started by: Soham
8 Replies

10. UNIX for Beginners Questions & Answers

Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows

Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
Net::IRR(3pm)						User Contributed Perl Documentation					     Net::IRR(3pm)

NAME
Net::IRR - Perl interface to the Internet Route Registry Daemon SYNOPSIS
use Net::IRR; my $host = 'whois.radb.net'; my $i = Net::IRR->connect( host => $host ) or die "can't connect to $host "; my $version = $i->get_irrd_version(); print "IRRd version: $version " unless $i->error(); print "routes by origin AS5650 "; my @routes = $i->get_routes_by_origin("AS5650"); print "found " . scalar(@routes) . " routes "; print "AS-SET for AS5650 "; if (my @ases = $i->get_as_set("AS-ELI", 1)) { print "found " . scalar(@ases) . " AS's "; print "@ases "; } else { print "none found "; } my $aut_num = $i->match("aut-num","as5650") or warn("can't find object: " . $i->error . " "); print $i->route_search("208.186.0.0/15", Net::IRR::EXACT_MATCH) . " originates 208.186.0.0/15 "; print $i->get_sync_info(), " "; $i->disconnect(); DESCRIPTION
This module provides an object oriented perl interface to the Internet Route Registry. The interface uses the RIPE/RPSL Tool Query Language as defined in Appendix B of the IRRd User Guide. The guide can be found at http://www.irrd.net/, however an understanding of the query language is not required to use this module. Net::IRR supports IRRd's multiple-command mode. Multiple-command mode is good for intensive queries since only one TCP connection needs to be made for multiple queries. The interface also allows for additional queries that aren't supported by standard UNIX whois utitilies. Hopefully this module will stimulate development of new Route Registry tools written in Perl. An example of Route Registry tools can be found by googling for RAToolset which is now known as the IRRToolset. The RAToolset was originally developed by ISI, http://www.isi.edu/, and is now maintained by RIPE, http://www.ripe.net/. METHODS
Net::IRR->connect( host => $hostname, port => $port_number ) This class method is used to connect to a route registry server. Net::IRR->connect() is also the constructor for the Net::IRR class. The constructor returns a Net::IRR object upon connection to the IRR server or undef upon failure. $whois->disconnect() This method closes the connection to the route registry server. $whois->quit() Same as $whois->disconnect(). $whois->get_routes_by_origin('AS5650') Get routes with a specified origin AS. This method takes an autonomous system number and returns the set of routes it originates. Upon success this method returns a list of routes in list context or a string of space separated routes. undef is returned upon failure. $whois->get_ipv6_routes_by_origin('AS5650') Same as $whois->get_routes_by_origin(), but returns IPv6 instead of IPv4 routes. $whois->get_routes_by_community($community_name) This method is for RIPE-181 only. It is not supported by RPSL. This method takes a community object name and returns the set of routes it originates. Upon success this method returns a list of routes in list context or a string of space separated routes. undef is returned upon failure. $whois->get_sync_info() This method provides database synchronization information. This makes it possible to view the mirror status of a database. This method optionally takes the name of a database such as RADB. If no argument is given the method will return information about all databases originating from and mirrored by the registry server. If the optional argument is given the database specified will be checked and it's status returned. This method returns undef if no database exists or if access is denied. $whois->get_as_set("AS-ELI", 1) This method takes an AS-SET object name and returns the ASNs registered for the AS-SET object. The method takes an optional second argument which enables AS-SET key expansion since an AS-SET can contain both ASNs and AS-SET keys. undef is returned upon failure. $whois->get_route_set("ROUTES-ELI", 1) This method takes an ROUTE-SET object name and returns the ROUTEs registered for the ROUTE-SET object. The method takes an optional second argument which enables ROUTE-SET key expansion since a ROUTE-SET can contain both ROUTEs and ROUTE-SET keys. undef is returned upon failure. $whois->match('aut-num', 'AS5650'); - get RPSL objects registered in the database The example above will retrieve the aut-num object with the key AS5650. This method will return the first RPSL object matching the object type and name specified as parameters to $whois->match(). undef is returned upon failure. $whois->get_irrd_version() This methods takes no arguments and returns the version of the IRRd server that was specified as the hostname to the connect() method. $whois->route_search("208.186.0.0/15", EXACT_MATCH) The method is used to search for route objects. The method takes two arguments, a route and an optional flag. The flag can be one of four values: EXACT_MATCH, LEVEL_ONE, LESS_SPECIFIC, MORE_SPECIFIC. These constants can be imported into your namespace by using the :all or :route export tag when importing the Net::IRR module. use Net::IRR qw( :route ); print "EXACT_MATCH = " . EXACT_MATCH . " "; $whois->sources() This method is used to both get and set the databases used for Internet Route Registry queries. The $whois->sources() method accepts a list of databases in the order they should be searched. If no arguments are given the method will return a list of all the databases mirrored by the route registry you are connected to. $whois->update($database, 'ADD', $rpsl_rr_object) This method is used to add or delete a database object. This method takes three arguments. The first argument is the database to update. The second argument is the action which can be either "ADD" or "DEL". The third and final required argument is a route object in RPSL format. $whois->error() Most Net::IRR methods set an error message when errors occur. These errors can only be accessed by using the error() method. AUTHOR
Todd Caine <todd.caine@gmail.com> SEE ALSO
Main IRRd Site http://www.irrd.net/ RIPE/RPSL Tool Query Language http://www.irrd.net/irrd-user.pdf, Appendix B COPYRIGHT
Copyright 2002-2010 by Todd Caine. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-03-31 Net::IRR(3pm)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy