Hi,
Request To guide me in writing a shell program for the following requirement:
Example:if the Input File contains the follwing data
Input File Data:
80723240029,12,323,443,88,98,7,98,67,87
80723240030,12,56,6,,,3,12,56,6,7,2,3,12,56,6,7,2,3,88,98,7,98,67,87... (5 Replies)
i have single column which is starting with same string(many number of rows)
i have to convert each into a single row.how can i do that?
laknar
std
mes
23
55
laknar
isd
phone no
address
amount
99
I have to convert above like below.
laknar|std|mes|23|55
laknar|isd|phone... (3 Replies)
Hi every one;
I have a file with 22 rows and 13 columns which includes floating numbers.
I want to parse the file so that every five columns in the row would be a new record (row). For example, the first line in the old file should be converted into three lines with first two lines contain 5... (6 Replies)
i have output of script as below
name,roll_no,01-05-12,02-05-12,03-05-12
sam,12,24,24,24
jon,145,24,24,22
van,29,24,22,24
i want to convert these into columns as output is not fixed please tell me how to convert 1st row in to 1st columns likewise,as many rows are there are to be converted... (4 Replies)
Hi gurus!
Please help me with this one. I have an file with the following contents:
a
b
c
d
e
f
g
h
i
j
I would like to make to transform it to look like this as my output file:
a,b,c
d,e,f (4 Replies)
I have 2 files,
file01= 7 columns, row unknown (but few)
file02= 7 columns, row unknown (but many)
now I want to create an output with the first field that is shared in both of them and then subtract the results from the rest of the fields and print there
e.g.
file 01
James|0|50|25|10|50|30... (1 Reply)
Dear fellows, I need your help.
I'm trying to write a script to convert a single column into multiple rows.
But it need to recognize the beginning of the string and set it to its specific Column number.
Each Line (loop) begins with digit (RANGE).
At this moment it's kind of working, but it... (6 Replies)
Hi .. anyone can you help me ?
i need to convert text below into multiple columns
interface; GigabitEthernet0/0/0/0
description; TRUNK_PE-D2-JT2-VPN_Gi0/0/0/0_TO_ME4-A-JKT-JT_4/1/1_1G
mtu 9212
negotiation auto
interface; GigabitEthernet0/0/0/0.11
description; tes
encapsulation;... (1 Reply)
hi all
I need a help ..I have a script that takes has command and its output is like below..
a b
a v v
a c
I am assigning the above outputs to a variable ..
<variable name> = <command output>
problem here is when I echo the variable ..it gives me output like " a b... (3 Replies)
Discussion started by: shankarb
3 Replies
LEARN ABOUT DEBIAN
vos_listaddrs
VOS_LISTADDRS(1) AFS Command Reference VOS_LISTADDRS(1)NAME
vos_listaddrs - Displays all VLDB server entries
SYNOPSIS
vos listaddrs [-uuid <uuid of server>]
[-host <address of host>] [-printuuid]
[-cell <cell name>] [-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve] [-help]
vos lista [-u <uuid of server>] >>>
[-h <address of host>] [-p]
[-c <cell name>] [-noa] [-l]
[-v] [-e] [-nor] [-he]
DESCRIPTION
The vos listaddrs command displays all of the server entries from the Volume Location Database (VLDB). An entry is created as the File
Server initializes and registers the contents of its /var/lib/openafs/local/sysid file in the VLDB.
OPTIONS -host <address of host>
Rather than displaying all the server entries, display only server entries for the specified host. This will show all multihomed
addresses registered by that File Server in the VLDB.
-uuid <uuid of server>
Rather than displaying all the server entries, display only server entries for the File Server with the specified UUID. This will show
all multihomed addresses registered by that File Server in the VLDB and also allows mapping a File Server UUID to its address.
-printuuid
Prints the UUID of server entries in addition to the registered addresses. The -printuuid option is available in OpenAFS versions 1.4.5
or later and 1.5.8 or later.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. Do not combine this flag with the -localauth flag. For more details, see
vos(1).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The vos command interpreter presents it to the
Volume Server and Volume Location Server during mutual authentication. Do not combine this flag with the -cell argument or -noauth
flag. For more details, see vos(1).
-verbose
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and
error messages appear.
-encrypt
Encrypts the command so that the operation's results are not transmitted across the network in clear text. This option is available in
OpenAFS versions 1.4.11 or later and 1.5.60 or later.
-noresolve
Shows all servers as IP addresses instead of the DNS name. This is very useful when the server address is registered as 127.0.0.1 or
when dealing with multi-homed servers. This option is available in OpenAFS versions 1.4.8 or later and 1.5.35 or later.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output displays all server entries from the VLDB, each on its own line. If a file server machine is multihomed, all of its registered
addresses appear on the line. The first one is the one reported as a volume's site in the output from the vos examine and vos listvldb
commands.
The VLDB records IP addresses, and the command interpreter has the local name service (either a process like the Domain Name Service or a
local host table) translate them to hostnames before displaying them. If an IP address appears in the output, it is not possible to
translate it.
The existence of an entry does not necessarily indicate that the machine that is still an active file server machine. To remove obsolete
server entries, use the vos changeaddr command with the -remove argument.
EXAMPLES
The following command displays the VLDB server entries in the ABC Corporation cell:
% vos listaddrs
sv5.abc.com
sv1.abc.com
sv2.abc.com afs2.abc.com
sv6.abc.com
The following command displays the VLDB server entry and UUID for host sv5.abc.com in the ABC Corporation cell:
% vos listaddrs -p -ho sv5.abc.com
UUID: 000c5aff-8246-1699-96-c4-437b5a45aa77
sv5.abc.com
PRIVILEGE REQUIRED
None
SEE ALSO fs_uuid(1), sysid(5), vos(1), vos_changeaddr(1), vos_examine(1), vos_listvldb(1)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 VOS_LISTADDRS(1)