Hi,
I have attempted to backup some database files on my company's Solaris machine about 3 times now. Each time that I attempt the backup, about 6 files are evident on the dat tape when I do read of the media and then I see the dreaded "tar: write error unexpected EOF" message. Each time that I... (2 Replies)
I have datafile like
~dta.yunm
shhshsgggssssjsksjs
sggsjshsjsjssss
shshshhshshshs
i wish to take only first line and all other lines in concatenated form in second line what should I do???
output like
~dta.yunm
shhshsgggssssjsksjssggsjshsjsjssssshshshhshshshs
please tell me how... (7 Replies)
Hi Ladies and Gents,
Explanation of my question with an example:
Let's consider the script: backup_every_hour.sh
#!/bin/bash
rsync -auv $dir $backup_dir >> backup_every_hour_script.log
Each time this script is called there will be a new entry at the end of the file... (1 Reply)
Hello Everyone,
I need a help from experts of this community regarding one of the issue that I am facing with shell scripting.
My requirement is to append char's at the end of each line of a file. The char that will be appended is variable and will be passed through command line.
The... (20 Replies)
Hai
#!user/bin/perl
--------
--------
print("$line.......\n");
-------
------
I want to write inside $line into a file like run.log
How i can pleasw tel me
Thanks
kiran (4 Replies)
Hello,
I'm works on Ubuntu server
My goal : I would like to read file line per line, but i want to started at the end of file.
Currently, I use instructions :
while read line;
do
COMMAND
done < /var/log/apache2/access.log
But, the first line, i don't want this. The file is long... (5 Replies)
My file (the output of an experiment) starts off looking like this,
_____________________________________________________________
Subjects incorporated to date: 001
Data file started on machine PKSHS260-05CP
**********************************************************************
Subject 1,... (9 Replies)
In the below perl I am trying to extract and print the values AF1=, the GT value, and F or QUAL diveded by 33 (rounded to the nearest whole #). The GT value is at the end after the GT:PL so all the possibilities are read into a hash h, then depending on the value that is in the line the... (1 Reply)
Hello all,
How can I find out the start and end of the writing file in the directory or recording time for writing file?
I have a directory where small ~ 1*MB temporary files are written.
After the end of the record, they are retrieved and erased.
I can only find out that the files are... (4 Replies)
Discussion started by: mrAibo
4 Replies
LEARN ABOUT MOJAVE
net::dns::rr::sshfp5.18
Net::DNS::RR::SSHFP(3) User Contributed Perl Documentation Net::DNS::RR::SSHFP(3)NAME
Net::DNS::RR::SSHFP - DNS SSHFP resource record
SYNOPSIS
use Net::DNS;
$rr = new Net::DNS::RR('name SSHFP algorithm fptype fp');
DESCRIPTION
DNS SSH Fingerprint (SSHFP) resource records.
METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or
other unpredictable behaviour.
algorithm
$algorithm = $rr->algorithm;
The 8-bit algorithm number describes the algorithm used to construct the public key.
fptype
$fptype = $rr->fptype;
The 8-bit fingerprint type number describes the message-digest algorithm used to calculate the fingerprint of the public key.
fp
$fp = $rr->fp;
Hexadecimal representation of the fingerprint digest.
fpbin
$fpbin = $rr->fpbin;
Returns opaque octet string representing the fingerprint digest.
babble
print $rr->babble;
The babble() method returns the 'BabbleBubble' representation of the fingerprint if the Digest::BubbleBabble package is available,
otherwise an empty string is returned.
Bubble babble represents a message digest as a string of "real" words, to make the fingerprint easier to remember. The "words" are not
necessarily real words, but they look more like words than a string of hex characters.
Bubble babble fingerprinting is used by the SSH2 suite (and consequently by Net::SSH::Perl, the Perl SSH implementation) to display easy-
to-remember key fingerprints.
The 'BubbleBabble' string is appended as a comment to the RDATA when the string method is called.
COPYRIGHT
Copyright (c)2007 Olaf Kolkman, NLnet Labs.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, Net::DNS, Net::DNS::RR, RFC4255
perl v5.18.2 2014-01-16 Net::DNS::RR::SSHFP(3)