![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| plink and shell script | praveen.1 | Shell Programming and Scripting | 5 | 09-08-2008 02:07 PM |
| Plink connections to multiple unix servers | Moxy | Shell Programming and Scripting | 2 | 08-28-2008 09:42 PM |
| How we can use plink? | shekhar_ssm | Shell Programming and Scripting | 0 | 03-16-2008 12:35 PM |
| Trying to retreive and compare value | omahablues | UNIX for Dummies Questions & Answers | 3 | 03-09-2007 12:14 AM |
| Plink problem....only works if passwd is in the script | Yinzer955i | UNIX for Dummies Questions & Answers | 3 | 08-29-2006 01:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I'm using plink to execute shell script on UNIX machines. It works pretty well excepted with some machines where I don't have the same $PATH than with putty. I'm using the command Code:
PLINK.EXE -ssh machinename -l user -pw password echo $PATH I'm not a specialist so I'm not sure of the following but it seems that the profile is not load which could explain the difference between the $PATH. As I don't how works the profile file and I'm not the owner the machines I'm a little lost. Is there something known with plink? Or something I must set? Thanks |
|
||||
|
Thanks for the reply.
This doesn't work for me because of missing permissions. But I've found a solution: Code:
PLINK.EXE -ssh machinename -l user -pw password bash -l -c 'echo $PATH' Thanks |
| Sponsored Links | ||
|
|