Hi,
I am running a script, the output of which is needed to be filled in .xls file. I am doing this manually now, i mean I am writing the output of the script to Excel file manually. How to redirect the output of the script to .xls file? Please help me out!!!
Thanks much,
Scriptlearner. (6 Replies)
Hello!!
I have the text file with following format...
--SubTotal-----------------------------------0--161---------------44---13739369-67---
--SubTotal-----------------------------------0--147---------------0----49643---1----... (2 Replies)
I need some help. I have a list of files (thousands) and would like to extract some variables from the file name and save that to a file
The list of files look like:
I am trying to write the following script but I am stuck at how I can get thevariables 'doy' and 'yr' from each file and then... (5 Replies)
Hi,
i want to extract the 'CREATE INDEX' or 'CREATE UNIQUE INDEX' statements from a ddl file and output each match to a separate file. i was looking around the net but couldnīt find anything.
a possible sed-script could be:
sed -n '/CREATE*INDEX*/,/COMMIT/p' filename.ddlbut i couldnīt find out... (11 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
I am working on an outage script and I run a command from the command line which tells me the amount of generator failures in my market. The output of this command only gives me three digits to identify the site by. I have a master list of all sites in a separate file, call it list.txt. If my... (7 Replies)
Hi All,
Greetings!
I have a file of 40000+ lines with different entries, I need matching entries filterd out to their files based on first filed pattern for the matching :
For example:
All server1 entries (in field1) to come together with its path in 2nd field.
The best output I want... (9 Replies)
In the bash below which does execute I am trying to extract the contents of ${id} is 1234, as ${id} stores the variable that changes each time.
After the path is removed the contents of ${id} are stored in pref, so they can be used in the output. Currently I am not able to extract the 1234 in the... (6 Replies)
Hi,
I developed a script which finally originates a similar output:
net0:up,Tx=475198bps,Rx=31009bps net1:up,Tx=39596bps,Rx=35678bps
Of course the figures change and also the amount of interfaces (ex: could be more then net0 and net1). This is done automatically.
The next step i'm... (4 Replies)
Discussion started by: nms
4 Replies
LEARN ABOUT REDHAT
auto.master
AUTO.MASTER(5) File Formats Manual AUTO.MASTER(5)NAME
/etc/auto.master - Master Map for automounter
DESCRIPTION
The auto.master map is consulted when the autofs(8) script is invoked to set up the necessary mount points for the automounter. Each line
in this file describes a mount point and points to another file describing the file systems to be mounted under this mountpoint. The access
to those maps is governed by a key.
Access to an automounted file system is customarily done using the path scheme:
/mountpoint/key/path/file,
where the mountpoint will be listed in the auto.master configuration file. The key is matched in the map file pointed to by the master map
(See autofs(5)). The path and the file are referring to the file on the file system mounted.
FORMAT
The file has three fields separated by an arbitrary number of blanks or tabs. Lines beginning with # are comments. The first field is the
mount point. Second field is the map file to be consulted for this mount-point. This field is of the form maptype:mapname, where maptype
is one of the supported map types (file, program, yp, nisplus, hesiod, userdir, ldap), and mapname is the name of the map. The third field
is optional and can contain options to+ be applied to all entries in the map. Options are cumulative, which is a difference from the behav-
ior of the SunOS automounter.
The format of the map file and the options are described in autofs(5).
EXAMPLE
/home /etc/auto.home
/misc /etc/auto.misc
/mnt yp:mnt.map
This will generate three mountpoints /home, /misc, and /mnt. All accesses to /home will lead to the consultation of the map in
/etc/auto.home, all accesses to /misc will consult the map in /etc/auto.misc, and all accesses to /mnt will consult the NIS map mnt.map.
SEE ALSO automount(8), autofs(5), autofs(8).
AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by <hpa@transmeta.com>.
19 Jun 2000 AUTO.MASTER(5)