Hi All,
can any1 plz upload me the SA288-sun solaris for system admin8,part II pdf. I need to do the certification.................plz help me at the earliest
Thanks to all (4 Replies)
Hi,
I am trying to execute a command like this:
find ./ -name "*.gz" -exec sh -c 'zcat {} | awk -f parse.awk' \; >> output
If I want to print the filename, i generally use the -print argument to the find command but when I am redirecting the output to a file, how can I print just the... (2 Replies)
all,
i am newbie to dns bind . Any help is very appreciated.
I am using dig command to view the records in the config. I am expecting the following comamnds to display all the A (Address records) in the zone data file.
my zone data file looks like this
-------------------
$ORIGIN .
$TTL... (2 Replies)
Hi,
When I execute this command
prtdiag -v
output sample :
System clock frequency: 160 MHZ
Memory size: 4GB
==================================== CPUs ====================================
E$ CPU CPU
CPU Freq Size ... (4 Replies)
HI Guys,
I need some expert help.. i have this below data as input
WHERE StartTime >= '2010-03-24 20:10:08'
AND username in('abc_xxx_yyy_01')
and output need is
just
in
appreciate your help on this !!!!
thanks you ... (8 Replies)
Hello all
I'm using bourne shell and need to figure out how to cut out a specific portion of some output. For example, my output from my command is:
12.12.52.125.in-addr.arpa name = hostname.domain.main.gov
I need to get just the "hostname.domain.main.gov" part. What I'm trying... (9 Replies)
Hi All,
I am trying to write a small shell programming to get db2 database size info. The command I am going to use is- db2 "CALL GET_DBSIZE_INFO(?, ?, ?, -1)"
and the output of above command generally is-
Value of output parameters
--------------------------
Parameter Name :... (4 Replies)
Hello!
I have text file:
From aaa@bbb Fri Jun 1 10:04:29 2010
--____OSPHWOJQGRPHNTTXKYGR____
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
My code '234565'. ... (2 Replies)
From the command line I am running the following command:
for i in $(awk '{print ($1)}' src-dst|uniq); do dig -x "$i" +short; done
src-dst has a list of IP addresses. When this script is running and I do a ps -ef | grep dig, I see the proper dig command with IP addresses being run, but the... (2 Replies)
Hi,
On AIX 7
I have :
grep 's_ohs_instance_loc' $CONTEXT_FILE
<ohs_instance_loc oa_var="s_ohs_instance_loc">/u01/appl_top/env/fs1/FMW_Home/webtier/instances/EBS_web_env_OHS1</ohs_instance_loc>
But I need only this part:... (4 Replies)
Discussion started by: big123456
4 Replies
LEARN ABOUT DEBIAN
object::authority
Object::AUTHORITY(3pm) User Contributed Perl Documentation Object::AUTHORITY(3pm)NAME
Object::AUTHORITY - adds an AUTHORITY method to your class
SYNOPSIS
{
package MyClass;
use Object::AUTHORITY;
BEGIN {
$MyClass::AUTHORITY = 'cpan:TOBYINK';
$MyClass::VERSION = '0.001';
}
}
print MyClass->AUTHORITY . "
"; # prints "cpan:TOBYINK
";
MyClass->AUTHORITY('cpan:FOO'); # assertion fails, croaks.
DESCRIPTION
This module adds an "AUTHORITY" function to your package, which works along the same lines as the "VERSION" function.
The authority of a package can be defined like this:
package MyApp;
BEGIN { $MyApp::AUTHORITY = 'cpan:JOEBLOGGS'; }
The authority should be a URI identifying the person, team, organisation or trained chimp responsible for the release of the package. The
pseudo-URI scheme "cpan:" is the most commonly used identifier.
"AUTHORITY"
Called with no parameters returns the authority of the module.
"AUTHORITY($test)"
If passed a test, will croak if the test fails. The authority is tested against the test using something approximating Perl 5.10's smart
match operator. (Briefly, you can pass a string for "eq" comparison, a regular expression, a code reference to use as a callback, or an
array reference that will be grepped.)
Utility Function
"Object::AUTHORITY::reasonably_smart_match($a, $b)"
Object::AUTHORITY exposes its smart match implementation in case classes wish to reuse it for their own custom "AUTHORITY" methods.
(There are various interesting use cases for custom "AUTHORITY" methods, just as there are for custom "can" and "isa" methods.)
The $a parameter is always assumed to be a simple scalar.
BUGS
Please report any bugs to http://rt.cpan.org/Dist/Display.html?Queue=Object-AUTHORITY <http://rt.cpan.org/Dist/Display.html?Queue=Object-
AUTHORITY>.
SEE ALSO
o Object::AUTHORITY (this module) - an AUTHORITY method for your class
o authority::shared - a more sophisticated AUTHORITY method for your class
o UNIVERSAL::AUTHORITY - an AUTHORITY method for every class (deprecated)
o UNIVERSAL::AUTHORITY::Lexical - an AUTHORITY method for every class, within a lexical scope
o authority - load modules only if they have a particular authority
Background reading: <http://feather.perl6.nl/syn/S11.html>, <http://www.perlmonks.org/?node_id=694377>.
AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
This software is copyright (c) 2011 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2011-12-15 Object::AUTHORITY(3pm)