bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command not found on remote server


From: Dolphin06
Subject: Re: command not found on remote server
Date: Thu, 11 Dec 2008 06:56:47 -0800 (PST)

Can i do something like this :
ssh $USER@$SERVER export PATH=$PATH:/other path/ ; script param....

right ?


Chet Ramey wrote:
> 
> Dolphin06 wrote:
>> Hello all,
>> 
>> Some script on the remote server are called in .bash_profile, so they are
>> accessible for the user.  But when i send a command via ssh, and that my
>> command call those script, it says command unknown...
>> What can i do for it to work ?
> 
> Either change your command to have the necessary directories in $PATH or
> call the scripts by their full pathnames.
> -- 
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> 
> Chet Ramey, ITS, CWRU    chet@case.edu   
> http://cnswww.cns.cwru.edu/~chet/
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/command-not-found-on-remote-server-tp20953229p20956977.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]