Ben-Nes Michael <[EMAIL PROTECTED]> writes:

> I wonder if any one know what bash variable contain the host i got
> connected from.

This may be an attribute of the program you connect with, not the
shell you run. Check man ssh for SSH_CLIENT if you use ssh. I am not
100% sure if that's what you mean.

> if ther5e is no such variable in bash, does other shell go it or system
> function ?

tcsh has REMOTEHOST.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] 
"... We work by wit, and not by witchcraft;
 And wit depends on dilatory time." [Shakespeare]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to