Thursday, March 30, 2006

shell tip: which shell you currently using

how do you tell which shell you currently using?

just use:
$ echo $0
-ksh
$ bash
$ echo $0
bash
$ csh
% echo $0
csh
% zsh
% echo $0
zsh

No comments: