Hello Michael,
The host which you connected from can be determined using the following
statement: "w | grep <my_terminal> | awk '{print $3}'.
Whereas <my_terminal> is replaced with the terminal which you are currently
connected to.
Regards, Yotam Rubin
On Sun, Mar 11, 2001 at 01:01:13PM +0200, Ben-Nes Michael wrote:
> Hi All
>
> I wonder if any one know what bash variable contain the host i got
> connected from.
>
> if ther5e is no such variable in bash, does other shell go it or system
> function ?
> --
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6925757
> Fax: 972-4-6925858
> http://www.canaan.co.il
> --------------------------
>
>
>
> =================================================================
> 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]
>
=================================================================
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]