Re: [ILUG] binaries on the path... not! (yet)

From: Vincent Cunniffe (vcunniff at domain arbgroup.com)
Date: Mon 13 Sep 1999 - 11:09:23 IST


ilug-admin at domain linux.ie wrote:
>
> Ok. I install Linux with basic networking, no frills. I test the
> networking... ping works ok. Telnet... hah, forgot to install. Find the
> rpm, install it.
>
> #:telnet 192.168.0.123
> telnet: Command not found.
> #:/usr/bin/telnet 192.168.0.123
> Contacting 192.168.0.123....
> ^C (Grrrr!!!!)
>
> Logout. Login. Telnet. No problem. Except for bad memories of "Windows
> has finished upgrading your software. Would you like to restart windows
> now? [Yes] [Yes]"
>
> It's obvious (sticking my neck out?) that Linux (or just tcsh?) is
> caching the binaries on the path. Can I refresh this somehow _without_
> losing my precious command history?

Linux doesn't cache binaries... if you're running a binary and you
delete the file from the filesystem, then it'll hold a hidden copy till
you terminate the last running copy, but it will re-locate the file any
time you try to run it.

'which <filename>' will tell you the location of the file which will be
executed if you type a command.

What exactly is your problem here? Failure to connect to localhost?

Failure to connect to a different machine on the network?

Does that machine have the IP address of *your* machine in it's /etc/hosts
file? If not, put it in... RedHat comes with a default lookup of the
connecting machine and if that fails you wind up with a long wait until
it allows the connect. To verify this, try reconnecting and leave it for a
minute or so.

Vin



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:33 GMT