10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
Can some help with write part of perl script
I need something like this in perl
SSH="/bin/ssh -o BatchMode=yes -o"
USER="test"
SRV="server"
SCRIPT_TO_EXEC="/tmp/test.sh" -> shell script
OUT=/tmp/out.file
${SSH} -l ${USER} ${SRV} 'sudo /usr/bin/ksh -s' < ${SCRIPT_TO_EXEC} >> ${OUT}... (1 Reply)
Discussion started by: vikus
1 Replies
2. Shell Programming and Scripting
Hi All,
I have a typical problem where I have HP unix and want to connect to Solaris 5.10 box and run a shell. I tried with multiple forums but it does not help.
As per my analysis, there is no ssh in my machine and so i cant connect to solaris box,secondly ftp to the solaris server is not... (2 Replies)
Discussion started by: cskumar
2 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Hi,
I would like to remotely execute soffice with different users on a remote machine.
Basically I am connected to the machineA as user John. I would like to execute several soffice to the remote machineB.
The remote machine B has different users R,S on the same group.
I can launch remotely... (12 Replies)
Discussion started by: Robert2011
12 Replies
5. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
6. Shell Programming and Scripting
Hi,
What is the best way to remotely execute a script?
Scenario:
1 Unix box creates a file and moves it to a 2nd unix box
2nd unix box must then move the file to a windows server
How can i execute the ftp script on the 2nd server, I need to schedule the command to automate it!?
I... (3 Replies)
Discussion started by: mcclunyboy
3 Replies
7. Shell Programming and Scripting
Hi,
I have a shell script in systemA and another shell script in systemB.
when I execute the script in systemA, it should call the another script in systemB.
Please tell me the way to do this.
Thanks,
Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies
8. Linux
hi all.
I have a small program on a debian server which i need to execute remotely from a windows machine using putty.
when i use putty to execute the program it starts running , but when i close the session the program stops running on the debian server as well.
Can anyone guide me how... (4 Replies)
Discussion started by: coolatt
4 Replies
9. Shell Programming and Scripting
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
10. UNIX for Advanced & Expert Users
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
VMSPREP(LOCAL) VMSPREP(LOCAL)
NAME
vmsprep - VMS tape preperation aid
SYNOPSIS
vmsprep [-] [name ...]
DESCRIPTION
Vmsprep traverses hierarchies of files and prepares them for transportation to VMS. Since ANSI stardard tapes (the VMS standard) do not
allow hierarchy, this program provides a method of flattening the hierarchy onto a tape in such a way that it can be unpacked on VMS to
recreate the same tree structure.
For reasons best not described here, vmsprep will attempt to exclude all RCS and SCCS archives by ignoring all files or directories named
'RCS' or 'SCCS', or files starting with 's.' or ending in ',v'.
The output of vmsprep is a pair of files vmsprep.namelist and UNPACK.COM. vmsprep.namelist is a list of files to be placed on the tape in
the format required by ansitape. If the first argument is '-' instead of a file or directory name, vmsprep will instead send the namelist
to standard output, and place UNPACK.COM in /tmp to avoid attempting to write in the current directory. All of the files except UNPACK.COM
will be placed on the tape under cryptic names. UNPACK.COM is a VMS command script which will recreate all of the necessary directories
and then move the cryptically named files to their proper place.
A typical sequence would be:
vmsprep - tree1 tree2 file | ansitape cln trees -
Then on a VMS machine
mount MFA0: trees
copy MFA0:*.*.* *
@UNPACK
FILES
vmsprep.namelist
UNPACK.COM
DIAGNOSTICS
A warning is reported if a file or directory name contains a character not permitted in VMS names. The offending character is replaced by
'Z' and vmsprep continues.
SEE ALSO
ansitape(l)
BUGS
Extra periods in file names may not be dealt with optimally.
All files and directories to be moved must be descendants of the current working directory. Absolute path names and paths containing ".."
will produce unpredictable results.
Since vmsprep uses find(1) internally, it does not follow symbolic links.
The exclusion of RCS and SCCS files should be controlled by a command line flag.
Assumes VMS v4.0 or greater for long file names.
4/10/85 UCB Local VMSPREP(LOCAL)