So have you been able to execute the script remotely yet? You can do it via the system() call. Try something like this:
If you are being allowed to use system(), then that's all that is there to it. If not, you will have to fork and exec.
Hello All,
I am a newbie in Shell script programming, and maybe you can help me with my query.
I need to write a shell script (mntServer.ksh) that will start a background process and also to be able to run another script.
The mntServer.ksh script contains:
#!/bin/ksh... (1 Reply)
Hi Gurus,
Is it possible to include perl script with in the unix shell script?
What would be the general syntax?
In the above case, is it required to write the below first two lines of codes?
#!usr/bin/sh -x
#!usr/bin/perl -w
Thanks in advance / Mysore Ganapati. (1 Reply)
Hi. When you write a script/program in vi Do you include the $ Eg. #!/bin/bash $ echo "Today's date is `date`" or echo "Today's date is `date`" Make your script executable. $chmod +x script I included that. I keep getting a permission denied... why? Thanks! (5 Replies)
# dbc "delete from alert;"
DELETE 10
#
However, the script created below generates an error that command does not exits. Can any one please exist.
script.sh:
#!/bin/sh
dbc "delete from alert;" >>$TASKLOGFILE
./script.sh: line 38: dbc: command not found
can any one please... (2 Replies)
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
shell script in Unix/Linux to find the lines numbers of a text file are having word which is 5 to 10 characters long and having first letter as a capital letter. (3 Replies)
Hi there
Well, it's my first time on this board, so short to myself:
I'm matibaski, working as a webdeveloper and also as a system administrator on ubuntu server machines.
The problem:
I created a small apache-hostingscript by myself and it works fine.
But after some addings and new... (1 Reply)
Hi Friends,
I have a menu based tool which requires input/option to proceed further. How to make a shell script ?
eg: menu looks like
Get_data.sh
to continue (y/n) :
Here I need to key in "y" to proceed.
I want to prepare a script which should consider option y. (5 Replies)
Discussion started by: suresh3566
5 Replies
LEARN ABOUT OSF1
uusend
uusend(1) General Commands Manual uusend(1)NAME
uusend - Sends a file to a remote host
SYNOPSIS
uusend [-m mode] local_file system1! system2! ...!remote_file
The uusend command sends a file to a given location on a remote system.
OPTIONS
Specifies that the mode of the file on the remote system be taken from the octal number given. If this flag is not specified, the mode of
the input file is used.
DESCRIPTION
The remote system does not need to be directly connected to the local system, but a chain of uucp links needs to connect the two system.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of uusend: [Tru64 UNIX] Specifies the flow control used on the connection. Per-
mitted values are: HW (hardware), SW (software), HSW (hardware and software), and NONE. The uugetty on the remote system must also use the
same flow control. Specifies the amount of time (in seconds) for uucico to try to establish a connection before it times out. A value of
0 (zero) indicates an unlimited amount of time.
SEE ALSO
Commands: ct(1), cu(1), tip(1), uucico(8), uucleanup(8), uucp(1), uuencode(1), uulog(1), uuname(1), uupick(1), uusched(8), uustat(1),
uuto(1), uux(1)uusend(1)