04-23-2008
Sorry
Sorry but i forget to put the input lines which is mentioned in my first words; it look like this:
Belgium1 ISC 3 924556808 393475157928 b 1B
Italy ISC 151 925082838 447717254923 b 26
ISC BT-GlasGow 152 88216900500 218925288836 f 1B
ISC Spain-Telefonica 14 964188208970 218925735325 b 29
Thanks
Zanetti
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
I am trying to write a ksh script that it should notify in case there is no response from the other script. I mean to say that I got a.sh and b.sh
the execution of b.sh depends on a.sh, so if there is no response from a.sh,
b.sh should notify me about the same.
Thanks in Advance (4 Replies)
Discussion started by: rajusa10
4 Replies
2. UNIX for Advanced & Expert Users
Dear All
I have a file which contains lines looks like this:
ISC Egypt-Alex2 126 104541338 218926893238 f 1B
ISC BT-Colindale 26 249126190534 218913486850 b 29
ISC Egypt-Cairo2 199 129026052 218927661509 b 26
As you see in each line $4 and $5 are phone numbers , i want a script which... (19 Replies)
Discussion started by: zanetti321
19 Replies
3. Shell Programming and Scripting
One of our servers runs Solaris 8 and does not have "ls -lh" as a valid command. I wrote the following script to make the ls output easier to read and emulate "ls -lh" functionality. The script works, but it is slow when executed on a directory that contains a large number of files. Can anyone make... (10 Replies)
Discussion started by: shew01
10 Replies
4. Shell Programming and Scripting
My example file is as given below:
conn=1 uid=oracle
conn=2 uid=db2
conn=3 uid=oracle
conn=4 uid=hash
conn=5 uid=skher
conn=6 uid=oracle
conn=7 uid=mpalkar
conn=8 uid=anarke
conn=1 op=-1 msgId=-1 - fd=104 slot=104 LDAPS connection from 10.10.5.6 to 10.18.6.5
conn=2 op=-1 msgId=-1 -... (7 Replies)
Discussion started by: sags007_99
7 Replies
5. Shell Programming and Scripting
Hi all,
In bash scripting, I use to read files:
cat $file | while read line; do
...
doneHowever, it's a very slow way to read file line by line.
E.g. In a file that has 3 columns, and less than 400 rows, like this:
I run next script:
cat $line | while read line; do ## Reads each... (10 Replies)
Discussion started by: AlbertGM
10 Replies
6. Shell Programming and Scripting
Can someone help me edit the below script to make it run faster?
Shell: bash
OS: Linux Red Hat
The point of the script is to grab entire chunks of information that concerns the service "MEMORY_CHECK".
For each chunk, the beginning starts with "service {", and ends with "}".
I should... (15 Replies)
Discussion started by: SkySmart
15 Replies
7. Shell Programming and Scripting
data.file:
contact {
contact_name=royce-rolls
modified_attributes=0
modified_host_attributes=0
modified_service_attributes=0
host_notification_period=24x7
service_notification_period=24x7
last_host_notification=0
last_service_notification=0
host_notifications_enabled=1... (8 Replies)
Discussion started by: SkySmart
8 Replies
8. Shell Programming and Scripting
Hi All,
I'm new to the forum and to bash scripting. I did some stuff with VB.net, Batch, and VBScripting in the past, but because I shifted over to Linux, I am learning to script in Bash at this moment. So bear with me if I seem to script like a newbie, that's just because I am ;-)
OK, I... (9 Replies)
Discussion started by: cornelvis
9 Replies
LEARN ABOUT CENTOS
dnssec-checkds
DNSSEC-CHECKDS(8) BIND9 DNSSEC-CHECKDS(8)
NAME
dnssec-checkds - A DNSSEC delegation consistency checking tool.
SYNOPSIS
dnssec-checkds [-l domain] [-f file] [-d dig path] [-D dsfromkey path] {zone}
dnssec-dsfromkey [-l domain] [-f file] [-d dig path] [-D dsfromkey path] {zone}
DESCRIPTION
dnssec-checkds verifies the correctness of Delegation Signer (DS) or DNSSEC Lookaside Validation (DLV) resource records for keys in a
specified zone.
OPTIONS
-f file
If a file is specified, then the zone is read from that file to find the DNSKEY records. If not, then the DNSKEY records for the zone
are looked up in the DNS.
-l domain
Check for a DLV record in the specified lookaside domain, instead of checking for a DS record in the zone's parent. For example, to
check for DLV records for "example.com" in ISC's DLV zone, use: dnssec-checkds -l dlv.isc.org example.com
-d dig path
Specifies a path to a dig binary. Used for testing.
-D dsfromkey path
Specifies a path to a dnssec-dsfromkey binary. Used for testing.
SEE ALSO
dnssec-dsfromkey(8), dnssec-keygen(8), dnssec-signzone(8),
AUTHOR
Internet Systems Consortium
COPYRIGHT
Copyright (C) 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
BIND9 April 11, 2012 DNSSEC-CHECKDS(8)