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: sm01@stt008:~$ ps $$ PID TTY STAT TIME COMMAND 5002 pts/0 Ss 0:00 bash Maybe there is a better way :-? Greetings, -- Camaleón