10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script in local server
cd /home/dell/work/BOP/testdir
./processchk po (here processchk is a script & po is passed as an argument)
Now I want to execute this script from remote server
ssh $username@$hostname "cd /home/dell/work/BOP/testdir; ./processchk po"
But Its getting error... (9 Replies)
Discussion started by: manohar2013
9 Replies
2. Shell Programming and Scripting
I want to execute a shell script(set of commands) on remote machine and that script takes input from text file(local machine). Please refer below:
ssh user@hostname 'bash -s'< ./test.sh file.txt
But i got the error file.txt doesn't exist.
Can anyone help me on this.
Content of test.sh:
... (2 Replies)
Discussion started by: manishtri88
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
We have 2 servers A and B.
B is having a sctipt called b.sh in path /home/dev/scripts.
Now my requirement is i want to execute b.sh from server A.
Kindly help me. (3 Replies)
Discussion started by: Girish19
3 Replies
4. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
5. IP Networking
So, is there way of automating this ?
My ultimate goal is to run some cmd script in windows and it should connect to a remote unix host and run a script x.sh located on the remote unix host.
I was wanting to achieve this by using WinSCP and Putty only. If possible let me know how and if not... (25 Replies)
Discussion started by: mohtashims
25 Replies
6. Shell Programming and Scripting
hi guys,
i have a query, i wrote a perl script that will collect cpu statistics
Scripts/myScripts/
cpu.pl
i want to make this file so that i can run it from any location on any drive,
without giving the path explicitly.
like
$/home/ravi/perl
cpu.pl
i tried this... (8 Replies)
Discussion started by: niteesh_!7
8 Replies
7. Shell Programming and Scripting
We have a few machines which share the same directory. How can I execute the same script under that directory in different machine while I am using mine? (1 Reply)
Discussion started by: jiao
1 Replies
8. Shell Programming and Scripting
Hi,
I need to login into remote server and execute a shell script over there.
As of now i am making use of ssh command
ssh primUser@135.254.242.2 sh /poll.sh
I am logging in as primUser but unless i change the user to root the script execution on the remote machine is not possible.
... (5 Replies)
Discussion started by: goutham4u
5 Replies
9. Shell Programming and Scripting
Hi everyone
I intend to trigger a script from one machine say mc1 that actually excutes on different machine say mc2 and redirect the logs to that machine mc2.
I tried to use nohup <nfs location of machine >/script.sh > <nfs location of machine >/script.log 2>&1 &
nfs location of... (2 Replies)
Discussion started by: harneetmakol
2 Replies
10. Shell Programming and Scripting
hi unix guru's
i am new to unix shell programming.
i found a trouble in executing a script(bali.ksh) which is available on serverA with username xyza, this script contains sqlplus command to retrive the data from the database available on other serverC.
Now i need to run the above script... (4 Replies)
Discussion started by: balireddy_77
4 Replies
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)