03-13-2013
Is this a homework question?
8 More Discussions You Might Find Interesting
1. Programming
Dear All,
Please any send the idea and designing for creating the crontab in c
Thank in advanced (2 Replies)
Discussion started by: dhinesh
2 Replies
2. AIX
Hi everybody,
Is there a command that can create a new file with a specific size?
Thanks in advance. (3 Replies)
Discussion started by: aldowsary
3 Replies
3. Shell Programming and Scripting
plz tell me how to print * triangle
like this
*
**
***
****
***** (12 Replies)
Discussion started by: akash
12 Replies
4. Solaris
I want take a flash backup by flar command for specific files like:
/ , /boot, /tmp
I am trying this command but its not working
# flar -n archive1 -f /,/boot,/tmp -F -c /home/arc1.flar
Please can any body help me __.____._ (2 Replies)
Discussion started by: kmuqalled
2 Replies
5. Debian
Hello friends,
I have compiled the kernel .
But now i am facing the problem as to how we can create the initrd.img for the specific kernel.
I was compiling the 2.6.29 kernel.
to create initrd.img for 2.6.29
what i did is :
cd /boot
mkinitramfs-kpkg -o initrd.img-2.6.29 2.6.29... (2 Replies)
Discussion started by: pradeepreddy
2 Replies
6. Programming
Hi,
I have one xml file, I extracted some comments and saved in pdf file.I written code like this
#!/usr/bin/perl
use warnings;
use strict;
use PDF::API2;
use PDF::API2::Page;
use XML::LibXML::Reader;
use Data::Dumper;
my $file;
open( $file, 'formal.xml');
my $reader =... (1 Reply)
Discussion started by: veerubiji
1 Replies
7. Shell Programming and Scripting
Hi :)
I am learning shell scripting, I need help,
I would like to have a script that produces pascal's triangle as shown in the picture
http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Pascal%27s_triangle_5.svg/250px-Pascal%27s_triangle_5.svg.png
plz, help it's urgent
thanks in... (1 Reply)
Discussion started by: angel1
1 Replies
8. Shell Programming and Scripting
Hello,
I work in Ubuntu 16.04, I am new to Bash and something is wrong with my script, please help.
I have a few hundreds of subjects data (like subj003.nii.gz, subj012.nii.gz etc. up to subj567.nii.gz) in a directory /usr/afewmoredirectories/subjects.
I may run for each subject a command... (5 Replies)
Discussion started by: lim-lim
5 Replies
LEARN ABOUT REDHAT
net::dns::question
Net::DNS::Question(3) User Contributed Perl Documentation Net::DNS::Question(3)
NAME
Net::DNS::Question - DNS question class
SYNOPSIS
"use Net::DNS::Question"
DESCRIPTION
A "Net::DNS::Question" object represents a record in the question section of a DNS packet.
METHODS
new
$question = Net::DNS::Question->new("example.com", "MX", "IN");
Creates a question object from the domain, type, and class passed as arguments.
qname, zname
print "qname = ", $question->qname, "
";
print "zname = ", $question->zname, "
";
Returns the domain name. In dynamic update packets, this field is known as "zname" and refers to the zone name.
qtype, ztype
print "qtype = ", $question->qtype, "
";
print "ztype = ", $question->ztype, "
";
Returns the record type. In dymamic update packets, this field is known as "ztype" and refers to the zone type (must be SOA).
qclass, zclass
print "qclass = ", $question->qclass, "
";
print "zclass = ", $question->zclass, "
";
Returns the record class. In dynamic update packets, this field is known as "zclass" and refers to the zone's class.
print
$question->print;
Prints the question record on the standard output.
string
print $qr->string, "
";
Returns a string representation of the question record.
data
$qdata = $question->data($packet, $offset);
Returns the question record in binary format suitable for inclusion in a DNS packet.
Arguments are a "Net::DNS::Packet" object and the offset within that packet's data where the "Net::DNS::Question" record is to be stored.
This information is necessary for using compressed domain names.
COPYRIGHT
Copyright (c) 1997-2002 Michael Fuhr. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Update, Net::DNS::Header, Net::DNS::RR, RFC 1035 Section 4.1.2
perl v5.8.0 2002-10-12 Net::DNS::Question(3)