[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash prop
- To: ILUG <linux-il(at-nospam)linux.org.il>
- Subject: Re: bash prop
- From: Yotam Rubin <yotam(at-nospam)makif.omer.k12.il>
- Date: Sun, 11 Mar 2001 13:23:01 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3AAB5AF9.D2C8C1D7@canaan.co.il>; from miki@canaan.co.il on Sun, Mar 11, 2001 at 01:01:13PM +0200
- Mail-Followup-To: ILUG <linux-il@linux.org.il>
- References: <3AAB5AF9.D2C8C1D7@canaan.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.3.15i
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 linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il