Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Getting error when runing perl through ssh

by tirwhan (Abbot)
on Nov 26, 2005 at 16:09 UTC ( [id://511919]=note: print w/replies, xml ) Need Help??


in reply to Getting error when runing perl through ssh

Use the absolute path for the perl executable, it is possible that your path is not set as you expect it. So do
ssh -lroot somehost "/usr/bin/perl -ibkup -ne '{ s/192.168.10.55/db1.a +bc.com/g; print \"$_\n\";}' tnsnames.ora"

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://511919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found