Hi Gurus,
I am a starter with shell script. Help me to achieve this. I have a file with lines given below.
line1
line2
line3
.
.
etc
How can I arrange the file which should look like
line1,line2,line3,..,..,etc
Any help on this is appreciated. (9 Replies)
Hi,
I am new to unix and would greatly appreciate some help.
I have a file containing multiple colums containing different sets of data e.g.
File 1:
John Ireland 27_December_69
Mary England 13_March_55
Mike France 02_June_80
I am currently using the awk... (10 Replies)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (1 Reply)
I want to put one xml record in one row and so on...
sample two records are here.
<?xml version="1.0"?>
<Object>
<Header>
<XCOMVers>V1.0</XCOMVers>
<REPORT>XXXXX</REPORT>
<CODE>002</CODE>
</Header>
<IssueCard>
<Record>
<L>CAR SYSTEM -SSSSS -</L>
... (3 Replies)
Hello All,
I have datas in the below format.
Mark 45
Steve 60
Johnson 79
Elizabeth 90
My requirement is to arrange the data in the order as shown in the attachment.
My OS is Solaris.
... (6 Replies)
Hi Experts,
I am querying backup status results for multiple databases and getting each and every database result in one csv file. so i need to combine all csv files in one excel file with separate tabs. I am not familiar with perl script so i am using shell script.
Could anyone please... (4 Replies)
I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this.
--- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
LEARN ABOUT OSX
ypwhich
YPWHICH(1) BSD General Commands Manual YPWHICH(1)NAME
ypwhich -- return hostname of YP server of map master
SYNOPSIS
ypwhich [-d domain] [[-t] -m [mname] | host]
ypwhich -x
DESCRIPTION
The ypwhich utility tells which YP server supplies YP services to a client, or which is the master for a map. If invoked without arguments,
it gives the YP server for the local machine. If host is specified, that machine is queried to find out which YP server it is using.
The options are as follows:
-d domain
Specify a domain other than the default domain.
-t Inhibit translation of map nicknames to their corresponding map names.
-m [mname]
Find the master YP server for the named map. No host may be specified with the -m option. The mname argument can be a map name or
nickname. If mname is omitted, ypwhich will produce a list of available maps.
-x Display the map nickname table.
SEE ALSO domainname(1), ypcat(1), ypmatch(1), yp(8), ypbind(8), yppoll(8), ypset(8)AUTHORS
Theo De Raadt
BSD February 23, 1994 BSD