last thing question
GoijI P
goijiud at hotmail.com
Wed Apr 21 16:47:57 UTC 2004
>or by: # cd /usr/bin # ./program-to-run
^^^^^^^^^^^^^^
this is excatly what i did. i got "command not found".
>(the "./" means "run a program in the current directory").
>From: Rick Stevens <rstevens at vitalstream.com>
>Reply-To: Getting started with Red Hat Linux
><redhat-install-list at redhat.com>
>To: Getting started with Red Hat Linux <redhat-install-list at redhat.com>
>Subject: Re: last thing question
>Date: Wed, 21 Apr 2004 09:32:10 -0700
>
>GoijI P wrote:
>>well, since security is not an issue for my small network, i use telnet
>>(bad as something getting used to) to connect local HostA to remote HostB.
>>This happens after Host A is connected to Host B via telnet and after done
>>setenv ,,, xhost + ,,,, xterm etc.
>>i cd to path that an HostB executable is and try to execute it remotely
>>from HostA's xterm session but i get "command not found".
>
>A telnet login is NOT the same as a direct login. If you telnet to the
>machine and log in, the path will be different than if you logged into
>the machine directly from a console and the PATH variables will be set
>differently. In the telnet session, try "echo $PATH" and compare that
>output with "echo $PATH" from a console login. You'll see they're
>different. And if the program you want to run is not in the list of
>directories shown in "echo $PATH", the system can't find the program to
>run.
>
>You can get by this by, in the telnet session, running the command by
>specifying the entire path to the program:
>
> # /usr/bin/program-to-run
>
>or by:
> # cd /usr/bin
> # ./program-to-run
>
>(the "./" means "run a program in the current directory").
>
>> From Host B consol i run same command within same path , no problem.
>
>The paths are different, as I said.
>----------------------------------------------------------------------
>- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
>- VitalStream, Inc. http://www.vitalstream.com -
>- -
>- If your broker is so damned smart...why is he still working? -
>----------------------------------------------------------------------
>
>
>_______________________________________________
>Redhat-install-list mailing list
>Redhat-install-list at redhat.com
>https://www.redhat.com/mailman/listinfo/redhat-install-list
>To Unsubscribe Go To ABOVE URL or send a message to:
>redhat-install-list-request at redhat.com
>Subject: unsubscribe
_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and
safe. http://specials.msn.com/msn/security.asp
More information about the Redhat-install-list
mailing list