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
File::Spec::VMS(3pm) Perl Programmers Reference Guide File::Spec::VMS(3pm)
NAME
File::Spec::VMS - methods for VMS file specs
SYNOPSIS
require File::Spec::VMS; # Done internally by File::Spec if needed
DESCRIPTION
See File::Spec::Unix for a documentation of the methods provided there. This package overrides the implementation of these methods, not the
semantics.
eliminate_macros
Expands MM[KS]/Make macros in a text string, using the contents of identically named elements of %$self, and returns the result as a
file specification in Unix syntax.
fixpath
Catchall routine to clean up problem MM[SK]/Make macros. Expands macros in any directory specification, in order to avoid juxtaposing
two VMS-syntax directories when MM[SK] is run. Also expands expressions which are all macro, so that we can tell how long the expan-
sion is, and avoid overrunning DCL's command buffer when MM[KS] is running.
If optional second argument has a TRUE value, then the return string is a VMS-syntax directory specification, if it is FALSE, the
return string is a VMS-syntax file specification, and if it is not specified, fixpath() checks to see whether it matches the name of a
directory in the current default directory, and returns a directory or file specification accordingly.
Methods always loaded
canonpath (override)
Removes redundant portions of file specifications according to VMS syntax.
catdir
Concatenates a list of file specifications, and returns the result as a VMS-syntax directory specification. No check is made for
"impossible" cases (e.g. elements other than the first being absolute filespecs).
catfile
Concatenates a list of file specifications, and returns the result as a VMS-syntax file specification.
curdir (override)
Returns a string representation of the current directory: '[]'
devnull (override)
Returns a string representation of the null device: '_NLA0:'
rootdir (override)
Returns a string representation of the root directory: 'SYS$DISK:[000000]'
tmpdir (override)
Returns a string representation of the first writable directory from the following list or '' if none are writable:
sys$scratch:
$ENV{TMPDIR}
Since perl 5.8.0, if running under taint mode, and if $ENV{TMPDIR} is tainted, it is not used.
updir (override)
Returns a string representation of the parent directory: '[-]'
case_tolerant (override)
VMS file specification syntax is case-tolerant.
path (override)
Translate logical name DCL$PATH as a searchlist, rather than trying to "split" string value of $ENV{'PATH'}.
file_name_is_absolute (override)
Checks for VMS directory spec as well as Unix separators.
splitpath (override)
Splits using VMS syntax.
splitdir (override)
Split dirspec using VMS syntax.
catpath (override)
Construct a complete filespec using VMS syntax
abs2rel (override)
Use VMS syntax when converting filespecs.
rel2abs (override)
Use VMS syntax when converting filespecs.
SEE ALSO
File::Spec
perl v5.8.0 2002-06-01 File::Spec::VMS(3pm)