I want each integer to be a value/element in the array, however the string is being treated as one. How can I stream these into distinct values?
PSF6INDEX=`(snmpwalk -v 2c -c 'H0meru!es' ${SWITCH} .1.3.6.1.2.1.2.2.1.2 | grep 'GigabitEthernet' | sed 's/IF-MIB::ifDescr\.//g' | awk '{print $1}' |... (1 Reply)
I need to do something like this:
for i in 1 2 3 4 5; do
arr=$(awk 'NR="$i" { print $2 }' file_with_5_records)
done
That is, parse a file and assign values to an array in an ascending order relative to the number of record in the file that is being processed on each loop.
Is my... (2 Replies)
Hi All,
I'm writing a nagios check that will see if our ldap servers are in sync...
I got the status data into a nested array, I would like to search key of each array and if "OK" is NOT present, echo other key=>values in the current array to a variable
so...eg...let take the single array... (1 Reply)
Hello All,
Maybe I'm Missing something here but I have NOOO idea what the heck is going on with this....?
I have a Variable that contains a PATTERN of what I'm considering "Illegal Characters". So what I'm doing is looping
through a string containing some of these "Illegal Characters". Now... (5 Replies)
i stored some values in array , then i traverse through the array and check for
some values and if they exist then echo success.
let us consider that in our array we stored values from an sql query
like this
#!/bin/bash
declare -a arr
arr=$( sqlplus -s rte/rted2@rel76d2 << EOF
set... (1 Reply)
hey,i stored the value of an sql query in an array and then tried to use that
value in while loop. actually my array will have two or more values, then according to the values i have to display result.
#!/bin/bash -xv
val_1=$( sqlplus -s rte/rted1@rel75d1 << EOF
set heading off
select... (1 Reply)
array=( 8 5 6 2 3 4 7 1 9 0 )
for i in "${array}"
do
echo $i
done
# i need the output like this by swapping of array values
0
9
1
7
4
3
2
6
5
8 (7 Replies)
I have a headerless array of 1000 columns x 100000 rows. The array only contains 4 values; 0/0, 0/1, 1/1, ./.
Here I am showing the 1st 3 rows and columns of the input array
0/0 0/0 1/1
0/1 0/1 0/1
0/0 ./. 0/0
0/0 0/0 0/0
I would like to convert the values in... (9 Replies)
Hello!
I'm making an English to Morse Code translator and I was able to mostly get it all working by looking through older posts here; however, I have one small problem.
When I run it it's just printing spaces for where the characters should be. It runs the right amount of times, and if I try... (3 Replies)
Discussion started by: arcoleman10
3 Replies
LEARN ABOUT DEBIAN
kdigest
KDIGEST(8) BSD System Manager's Manual KDIGEST(8)NAME
kdigest -- userland tool to access digest interface in the KDC
SYNOPSIS
kdigest [--ccache=string] [--version] [--help] command [arguments]
DESCRIPTION
Supported options:
--ccache=string
credential cache
--version
print version
--help
Available commands are:
digest-probe [--realm=string] [-h | --help]
--realm=string
Kerberos realm to communicate with
digest-server-init [--type=string] [--kerberos-realm=realm] [--digest=digest-type] [--cb-type=type] [--cb-value=value] [--hostname=hostname]
[--realm=string]
--type=string
digest type
--kerberos-realm=realm
--digest=digest-type
digest type to use in the algorithm
--cb-type=type
type of channel bindings
--cb-value=value
value of channel bindings
--hostname=hostname
hostname of the server
--realm=string
Kerberos realm to communicate with
digest-server-request [--type=string] [--kerberos-realm=realm] [--username=name] [--server-nonce=nonce] [--server-identifier=nonce]
[--client-nonce=nonce] [--client-response=response] [--opaque=string] [--authentication-name=name] [--realm=realm] [--method=method]
[--uri=uri] [--nounce-count=count] [--qop=qop] [--ccache=ccache]
--type=string
digest type
--kerberos-realm=realm
--username=name
digest type
--server-nonce=nonce
--server-identifier=nonce
--client-nonce=nonce
--client-response=response
--opaque=string
--authentication-name=name
--realm=realm
--method=method
--uri=uri
--nounce-count=count
--qop=qop
--ccache=ccache
Where the the credential cache is created when the KDC returns tickets
digest-client-request [--type=string] [--username=name] [--password=password] [--server-nonce=nonce] [--server-identifier=nonce]
[--client-nonce=nonce] [--opaque=string] [--realm=realm] [--method=method] [--uri=uri] [--nounce-count=count] [--qop=qop]
--type=string
digest type
--username=name
digest type
--password=password
--server-nonce=nonce
--server-identifier=nonce
--client-nonce=nonce
--opaque=string
--realm=realm
--method=method
--uri=uri
--nounce-count=count
--qop=qop
ntlm-server-init [--version=integer] [--kerberos-realm=string]
--version=integer
ntlm version
--kerberos-realm=string
Kerberos realm to communicate with
HEIMDAL September 25, 2008 HEIMDAL