The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Cannot retreive correct $PATH using PLINK
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Cannot retreive correct $PATH using PLINK
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
03-12-2009
Peuj
Registered User
Join Date: Mar 2009
Posts: 7
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'
Using
bash -l
allows me to log on the machine and so load the profile.
Thanks
Peuj
View Public Profile
Find all posts by Peuj
Find Peuj's past nominations received
Find Peuj's present nominations given