10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Suppose I have a word which is repeating in a string continuously. I have a set of intervals. Then how do I find the number occurrences of that word in those intervals and their location of occurrences. For example - Suppose there is a huge string anfie.......sirn of 10000 letters. Now the word... (2 Replies)
Discussion started by: ANKIT ROY
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I want to add a letter to the end of a string if it repeats in a column.
so if I have a file like this:
DOG001
DOG0023
DOG004
DOG001
DOG0023
DOG001
the output should look like this:
DOG001-a
DOG0023-a
DOG004
DOG001-b (15 Replies)
Discussion started by: verse123
15 Replies
3. Shell Programming and Scripting
cat mylist
First_NAME Gender
Mike M
Sara F
Raya M
Sara F
Fibi F
Mike M
Mike M
Micheal M
can someone please help me to get a script to cacluate the number of repetions for each (First name... (3 Replies)
Discussion started by: Sara_84
3 Replies
4. Programming
How can I get all combinations of 5 words from 10 words.
For example I have 3 words and I want to get all combinations of 2 words.
"A", "B", "C" it would like AB, BC, AC.
Maybe you know some usefull code or example.
Thanx a lot.
P.S. Sorry if I'm not right enough cause I don't know English... (2 Replies)
Discussion started by: romeo5577
2 Replies
5. Shell Programming and Scripting
Hi.
I have a for loop that I use to extract integer values in a shell script (ksh). Now, I would like to add the values. My preference, from my c programming days, would be to do something like the commented out line below in the for loop. However, this is not recognised. So I use the line... (2 Replies)
Discussion started by: mikem22
2 Replies
6. Solaris
I have 3 variables with different information.. they look like this (row-wise aswell):
Variable1 =
Roland
Kalle
Dalius
Variable2 =
ake123
ler321
kaf434
Variable3 =
Richardsen
Sworden
Lokthar
How can I sort them by variable3 alphabetical and add them into the same output so... (0 Replies)
Discussion started by: Prantare
0 Replies
7. Shell Programming and Scripting
Hi
I am trying to add variables(float values) in a unix script but am getting an error
value=`expr $a + $b + $c`
The error I am getting is "expr: non-numeric argument"
I guess it has got to something with the decimal points.
Plz help (13 Replies)
Discussion started by: akashtcs
13 Replies
8. Programming
I have a structure which contains n number of elements. For example:
stFruits : apple, grapes, strawberry, pear, kiwi, melon, papaya, mango, orange, sweetlime ..... etc
Now i have to write a for loop as follows:
int i;
int j;
j=stFruits.apple+stFruits.grapes+stFruits.pear+.... and so... (3 Replies)
Discussion started by: jazz
3 Replies
9. UNIX for Advanced & Expert Users
Hi All,
I'm just new to UNIX, does anyone know how to create a batch file in UNIX that does the following routines:
1.) process multiple files in a directory
in DOS, I set my sample input file as: set INPUTFILE=%1
in UNIX>> ????
2.) every file to be processed by executing a program... (1 Reply)
Discussion started by: kimpot7268
1 Replies
10. UNIX for Dummies Questions & Answers
Is anyone know some scripts to generate random number without repetition using bash; for example generate 10 different random numbers.
Thanks (8 Replies)
Discussion started by: asal_email
8 Replies
LSDNSSEC(1p) User Contributed Perl Documentation LSDNSSEC(1p)
NAME
lsdnssec - List DNSSEC components of zones from files or directories
SYNOPSIS
lsdnssec [-d 1-9] [OPTIONS] [FILES OR DIRECTORIES...]
DESCRIPTION
The lsdnssec program summarizes information about DNSSEC-related files. These files may be specified on the command line or found in
directories that were given on the command line. The -d flag controls the amount of detail in the lsdnssec output.
lsdnssec displays the following information about each zone for which it collects information:
keys
Key information is shown about the keys currently in use. A bar graph is included that shows the age of the key with respect to the
configured expected key lifetime.
This information is collected from any .krf files lsdnssec finds.
rolling status
If any zone keys are being rolled via rollerd, then the status of the rolling state is shown. The time needed to reach the next state
is also displayed.
This information is collected from any .rollrec or .rrf files found by lsdnssec.
OPTIONS
-z ZONENAME1[,ZONENAME2]
--zone=ZONENAME1[,ZONENAME2]
Only prints information about the named zone(s).
-p NUMBER
--phase=NUMBER
Only prints information about zones currently being rolled by rollerd and where either a zsk or a ksk rollover is taking place and is
in phase NUMBER.
If the phase NUMBER is specified as 0, then any zone in any rolling phase will be printed (but not zones that aren't being rolled at
all).
This flag is especially useful to find all of your zones that are currently in KSK rolling phase 6, which requires operator
intervention to propagate the new DS records into the parent zone.
-r
--roll-status
Show only rolling information from the rollrec files. By default both roll-state and key information is shown.
-k
--key-data
Show only keying information from the krf files. By default both roll-state and key information is shown.
-K
--key-gen-time
Normally rollerd calculates the age of a key based on the last time a key was rolled. However, it's also possible to calculate the age
of a key based on the difference between the time of execution and when the key was created (which was typically before the rolling
began). The -K flag switches to this second mode of key age calculation (which will not match how rollerd actually performs).
-M
--monitor
The -M flag gives an abbreviated version of lsdnssec output that is intended for use by monitoring systems. It displays the zone name,
the rollover phase, and the time remaining in that phase. This option implicitly sets the -r flag on and sets the detail level to 1.
-d 1-9
--detail 1-9
Controls the amount of information shown in the output. A level of 9 shows everything; a level of 1 shows a minimal amount. The
default level is 5.
--debug
Turns on extra debugging information.
COPYRIGHT
Copyright 2009-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
AUTHOR
Wes Hardaker <hardaker AT AT AT users.sourceforge.net>
SEE ALSO
lskrf(1)
zonesigner(8), rollerd(8)
perl v5.14.2 2012-06-21 LSDNSSEC(1p)