On Fri, 26 Nov 2010 15:11:07 +0000, Joao Ferreira gmail wrote:

> considering sh, bash and csh, can I somehow, inside a script, determine
> if I'm being run with any of these 3 shells...
> 
> I need to determine wich interpreter is running me...

A quick Google tour says:

s...@stt008:~$ ps $$
  PID TTY      STAT   TIME COMMAND
 5002 pts/0    Ss     0:00 bash

Maybe there is a better way :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to