Tuesday, September 13, 2011

How can you recognize the curent shell (C/Korn/Bourne) you are working on?

First Approach : with prompt symbol

C shell - %
Bourne - $
Ksh - #

Second Approach : UNIX commands

echo $SHELL
or
echo $0

No comments :