El mié, 03-03-2004 a las 21:53, Danijel Tasov escribió:
> Ruben Porras wrote:
> > so, echo $SHELL seems not to be reliable, how could I now which shell I
> > am using? (Imagine you need to know in a script)?
> 
> I'm doing:
> 
>         ps -p $$

That was exactly what I need ;)

I said "Imagine you need to know in a script" to indicate that I wanted
an independent shell response (not echo $shell in tcsh, for example), in
that moment I didn't know who to explain it in English.

Many thanks to everybody.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to