Hello,
Can somebody tell me the differnce between a call of a ksh with the dot :
>. script.ksh
and the call without the dot:
>script.ksh
In my script I have writen a test for the number of parameters:
if
then echo 'Usage : '$0
exit 1
fi
as my script doesn't need any... (3 Replies)
The situation is like this.
If I need to know the parameters of all the unix servers connected to a common network, is it possible to get all the parameter details of all the system with the help of a script written in one server??
Can a script be written like that ?
Let me give some... (3 Replies)
I have an expect script that interrogates several hundred unix servers for both access and directories therein using "ssh user@host ls -l /path". The combination of host/path are unique but the host may be interrogated multiple times if there are multiple paths to test.
The expect script is run... (2 Replies)
Hi guys i have a script (takeconsole) as following
I have moved it to /usr/local/bin to make the execution of script simpler.
below are the content of the file.
When i run the file by typing "takeconsole" .it always ask for entering the IP address but when i run it by using ". takeconsole".... (9 Replies)
I m writing a program to execute remote script .
(display remote file content)
Whenever i execute following statement it gives me an error.
$command="cat /root/vm.cfg"
ssh -ttq root@10.180.8.236 $command
However following script work find.
ssh -ttq root@10.180.8.236 cat /root/vm.cfg
... (8 Replies)
Hello,
I am writing a shell script in which i do ssh to remote server and count the number of files there and then exit. After the exit the shell script terminates which i believe is expected behavior. Can some one suggest me a way where even after the exit the script execution resumes.
... (2 Replies)
I am database guy and not very good at shell scripts. I am seeking help to sharp my script coding. I have 5 scripts
1. master script. I use this one to call other four scripts to do database work.
2. db_backup_1 and log_backup_1
3. db_backup_2 and log_backup_2
in master script, I want to... (4 Replies)
Hi,
I am having a shell script on Solaris 10 which has a while loop as shown below.
#!/usr/bin/ksh
#
while
do
sleep 60
done
Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Hi ,
A shell script being executed by multiple user in a host, but i need the output of each user who executed the script
user should have screen output as well ...and unique log file name should generated on execution of script
is there anyway to get it
below file will overwrite... (5 Replies)
Discussion started by: amar1208
5 Replies
LEARN ABOUT SUNOS
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)