[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash prop
- To: Ben-Nes Michael <miki(at-nospam)canaan.co.il>
- Subject: Re: bash prop
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 11 Mar 2001 13:25:25 +0200
- Cc: ILUG <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Ben-Nes Michael's message of "Sun, 11 Mar 2001 13:01:13 +0200"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <3AAB5AF9.D2C8C1D7@canaan.co.il>
- Reply-To: ogoldshmidt(at-nospam)computer.org
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
Ben-Nes Michael <miki@canaan.co.il> 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 | ogoldshmidt@NOSPAM.computer.org
"... We work by wit, and not by witchcraft;
And wit depends on dilatory time." [Shakespeare]
=================================================================
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