09-10-2013
Thank you for your reply.
I am looking for the output like this
Hostname Mount Points
hostname.host1.com bur-filer2:/vol/vol1 /mnt/bur-filer2/vol1
hostname.host2.com bur-filer2:/vol/vol1 /mnt/bur-filer2/vol1
Instead of showing like this.
hostname.host1.com ............
bur-filer2:/vol/vol1 /mnt/bur-filer2/vol1 nfs rw,defaults 0
hostname.host2.com ............
bur-filer2:/vol/vol1 /mnt/bur-filer2/vol1 nfs rw,defaults 0
Appreciate your help
Thank you
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could any one help me in basic shell script to export text file data to csv.
I need to export only particular data from text file to csv column.
I am a newbie to UNIX could anyone help me with sample script code (3 Replies)
Discussion started by: l_jayakumar
3 Replies
2. Shell Programming and Scripting
Good day Gurus,
I have a csv file that contains an inventory of active servers. This csv file contains a well over a hundred systems (IBM, SUN, HP). It also contains those systems details. See below for an example
hostA,invver,1.02,20100430
hostA,date,08/30/2010,06:18
hostA,use,"Unknown... (4 Replies)
Discussion started by: LuffyDMonkey
4 Replies
3. Shell Programming and Scripting
Hello,
I have some data in a text file where fields are separated by blank lines. There are only 6 fields however some fields have several lines of data as I will explain. Also data in a particular field is not consistently the same size but does end on a blank line. The first field start with... (6 Replies)
Discussion started by: vestport
6 Replies
4. Shell Programming and Scripting
I have two CSV files in the following format:
First file:
GroupID, PID:TID, IP, Port
Sample data:
0,1000:11,127.0.0.1,445
0,-1:-1,127.0.0.1,800
1,1000:11,127.0.0.1,445
1,-1:-1,127.0.0.1,900
2,1000:11,127.0.0.1,445
2,-1:-1,180.0.0.3,900
Second file:
IP,Port,PID
Sample data... (6 Replies)
Discussion started by: rakesh_arxmind
6 Replies
5. Shell Programming and Scripting
Hi Guys,
Would need your expert help with the following situation..
I have a comma seperated .csv file, with a header row and data as follows
H1,H2,H3,H4,H5..... (header row)
0,0,0,0,0,1,2.... (data rows follow)
0,0,0,0,0,0,1
.........
.........
i need a code... (10 Replies)
Discussion started by: dev.devil.1983
10 Replies
6. Shell Programming and Scripting
Gents
Using the script attached (raw2csv). i use to create the file .csv.. The input file is called 201.raw.
Kindly can you check if there is easy way to do it. The script works fine but takes a lot time to process
Thanks for your help (8 Replies)
Discussion started by: jiam912
8 Replies
7. Shell Programming and Scripting
hi
i need to extract lines from multiple files to a csv file.
for example, i have these 3 files
file1.txt
date:29dec1980
caller:91245824255
called:8127766
file2.txt
date:11apr2014
caller:9155584558
called:8115478
file3.txt
date:25jun2015
caller:445225552
called:8117485 (30 Replies)
Discussion started by: lp.descamps
30 Replies
8. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
9. Shell Programming and Scripting
Hello everyone, i am stuck with a task i was meant to do so i came here. So i have a .csv file which structure is :
year;temperature;precipitation
2012;32;483
2006;28;517
...
I want to note that it is in fact ";" not a space, which
a new file named <old-name>-new.txt, the first line must
... (2 Replies)
Discussion started by: Needhelp123
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I tried filtering the records in a csv file using "awk" command listed below.
awk -F"~" '$4 ~ /Active/{print }' inputfile > outputfile
The output always has all the entries.
The same command worked for different users from one of the forum links.
content of file I was... (3 Replies)
Discussion started by: sunilmudikonda
3 Replies
LEARN ABOUT OPENDARWIN
nfsmount.conf
NFSMOUNT.CONF(5) File Formats Manual NFSMOUNT.CONF(5)
NAME
nfsmount.conf - Configuration file for NFS mounts
SYNOPSIS
Configuration file for NFS mounts that allows options to be set globally, per server or per mount point.
DESCRIPTION
The configuration file is made up of multiple sections followed by variables associated with that section. A section is defined by a
string enclosed by [ and ] branches. Variables are assignment statements that assign values to particular variables using the = operator,
as in Proto=Tcp. Sections are broken up into three basic categories: Global options, Server options and Mount Point options.
[ NFSMount_Global_Options ] - This statically named section defines all of the global mount options that can be applied to every NFS mount.
[ Server "Server_Name" ] - This section defines all the mount options that should be used on mounts to a particular NFS server. The
"Server_Name" strings needs to be surrounded by '"' and be an exact match of the server name used in the mount command.
[ MountPoint "Mount_Point" ] - This section defines all the mount options that should be used on a particular mount point. The
"Mount_Point" string needs to be surrounded by '"' and be an exact match of the mount point used in the mount command.
EXAMPLES
These are some example lines of how sections and variables are defined in the configuration file.
[ NFSMount_Global_Options ]
Proto=Tcp
The TCP protocol will be used on every NFS mount.
[ Server "nfsserver.foo.com" ]
rsize=32k
wsize=32k
A 33k (32768 bytes) block size will be used as the read and write size on all mounts to the 'nfsserver.foo.com' server.
[ MountPoint "/export/home" ]
Background=True
All mounts to the '/export/home' export will be performed in the background (i.e. done asynchronously).
FILES
/etc/nfsmount.conf
Default NFS mount configuration file
SEE ALSO
nfs(5), mount(8),
9 Mar 2008 NFSMOUNT.CONF(5)