I have a config file of this format:
I want to read these values from this file and use in a command to send email. I am trying grep but it gives full line. I just want those values.
Hi,
I want to pratmeterze my scripts like,
my confRsync file contains varibale values for 1. host 2. Destination and 3. source like this, I want to read this values from this and assing to my makeRsyn.sh file's varibales.
how to do this? (1 Reply)
Hi one & All ,
My Need is to Create 64 Partition and create File System in Linux.
I have the Script ...
for((a=0;a<=63;a++))
do
fdisk /dev/cciss/c0d$a
done
for((a=0;a<=63;a++))
do
mkfs.ext2 /dec/cciss/'c0d'$a'p1'
done
the moment I run the Script I get the Prompt ...
Command... (1 Reply)
Hi,
I'm new to unix.. I need to read only the first two values from a file that contains many data....My record is like this
FTG_ver_num=7.0
RUN_ID=2
$$tgt_envrnmt_cd=FTG
$$WRK_FLW_CD=NPL
I need oly the values of ETG_ver_num and RUN_ID.
i.e) output to be 7.0 and 2
The code i used... (2 Replies)
Hi ,
I have a file with the following content
I need the read the year and reporting from this file and store them in variables.
I understand that we can read the file delimited by'=' but not sure how to extract the values correctly.
Thanks in advance
Regards (3 Replies)
Hi,
I want to read the variables and the values from the txt file and compare these values with the ones computed by script.
for ex:
say var.txt contains the variable names and their values:
one 1
two 2
three 3
The value of variables "one" "two" and "three" will be computed in the script... (3 Replies)
Hi ,
I am new to this scripting , I am facing an issue like how to read different values from external file by using different variables,
In script I supposed to declare
var 1
var 2
var 3
I know how to call this variables from external file (I am using awk command by giving same... (3 Replies)
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)
Hello Friends,
I have written a script like the following, which finds some logs and fetchs some desired rows and then calculate average processing time of a spesific application.
if
then
echo
echo "----- There are three arguments which is expected to run this script! ... (5 Replies)
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...
if (start_new_rec=="true"){
exclude_user="false";
user=toupper($6);
match(user, "XXXXX.");
if (RSTART ==2 ) {
... (9 Replies)
Hi ,
I have a property file placed in folder /usr/opt/temp/aorc.prop which has values given below . I need to read this file content and replace the node with actual values in a shell script . Each time the script shall replace the node value from the poperty file and execute a cfsend command and... (10 Replies)
Discussion started by: samrat dutta
10 Replies
LEARN ABOUT LINUX
faxsetup
FAXSETUP(8) System Manager's Manual FAXSETUP(8)NAME
faxsetup - setup a machine for use with HylaFAX
SYNOPSIS
/usr/sbin/faxsetup [ -client ] [ -server ] [ -with-VAR[=value] ]
DESCRIPTION
faxsetup is an interactive shell script that does the necessary setup work to configure a client or server machine for the HylaFAX soft-
ware. faxsetup must be run on every HylaFAX server machine before the software will function-if a HylaFAX server program or script is
invoked before faxsetup is run, the command will abort with a message that says to run faxsetup. faxsetup may optionally be run on a
HylaFAX client machine to verify the configuration of the software.
By default faxsetup checks a machine for use both as a HylaFAX client and server. Client-specific checks include:
o the installation of client programs and data,
o the installation of the Adobe Font Metric (AFM) information files used by the HylaFAX text formatting support.
Server-specific checks include:
o the installation of server programs and data,
o the existence of the UUCP lock file directory,
o the installation of the TIFF software tools,
o the configuration of the getty programs invoked for data and voice calls,
o the pathnames for various system programs used by server shell scripts,
o proper support for FIFO special files,
o proper installation of a POSTSCRIPT RIP,
o definition of a ``fax'' user,
o definitions for the ``hylafax'' and ``snpp'' services,
o startup of the HylaFAX server processes: faxq(8) and hfaxd(8),
o definition of a ``FaxMaster'' mail alias for reporting server problems.
For server machines faxsetup also creates two files that are required by the HylaFAX command scripts. One file contains master configura-
tion parameters and the other contains various definitions used by scripts such as faxaddmodem(8) that communicate with modems.
OPTIONS -client Do client-specific consistency checks.
-server Do server-specific consistency checks.
-with-VAR[=value]
Override the default definition for the configuration parameter named VAR; optionally specifying a new value (if no value is
specified then ``yes'' is used). This option is especially useful to override the default settings for the POSTSCRIPT inter-
preter package to use (e.g. ``-with-PS=dps''), the spooling directory (``-with-DIR_SPOOL=/mumble''), the directory where the tool
applications of TIFF software distribution are located (``-with-TIFFBIN=/usr/freeware''), etc. A complete list of the possible
parameters can be found by looking at the contents of the faxsetup shell script; many of these configuration parameters are also
described in the online documentation
-help Print a help message and terminate.
-quiet Do not print verbose messages to the terminal.
-verbose Print informative messages to the terminal (default).
BUGS
faxsetup does not query a modem to find out its capabilities when invoking the faxmodem program to setup a server in a send-only configura-
tion; it may be necessary to run faxmodem manually.
FILES
/var/spool/hylafax/etc/setup.cache master configuration parameters
/var/spool/hylafax/etc/setup.modem modem-related configuration support
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area.
SEE ALSO hylafax-server(5), hylafax-config(5), faxq(8), faxgetty(8), faxmodem(8), faxconfig(8), faxsend(8)
August 26, 1996 FAXSETUP(8)