Hi,
in my code, i have this line that passes the command to the unix box
/users01/myname
/usr/bin:/usr/sbin:/sbin
but when I type $PATH through Putty, I get a lot more than just "/usr/bin:/usr/sbin:/sbin" is there anything that I'm missing?
in my code, i have this line that passes the command to the unix box
var cmd = ssh.CreateCommand(string.Format("pwd ; echo $PATH"));
what it returned is /users01/myname
/usr/bin:/usr/sbin:/sbin
but when I type $PATH through Putty, I get a lot more than just "/usr/bin:/usr/sbin:/sbin" is there anything that I'm missing?