Finding information about the current shell
How do I find out the information about the current shell ?
ie , whether it is bash,csh or korn shell etc ?
The reason i ask this question is that i want to make the vi
editor commands to work on the command line . I tried using
set -o vi
but the shell says "set: Variable name must begin with a letter."
Does set -o vi work only with bash ?
I wanted to find out what is my current shell and accordingly make
vi editor commands to work on the shell command line for editing
Thanks,
Athirya
|