Re: How to find your shell



Maybe I'm missing something, or maybe it's only on my system, but I can get my
shell with $SHELL

echo $SHELL

result: /bin/tcsh


On Fri, 22 Apr 2005 06:45:39 -0700 (PDT)
Shiraz Baig <shiraz_baig yahoo com> wrote:

> There are two three methods.
> One is to check the environments. In that one item
> will be the shell.
> 
> Second is to cat /etc/passwd and see the shell that
> has been allotted to you. 
> 
> The third is run a command, which does not exist. For
> example "abc". it will give an error and also the name
> of the shell.
> bye
> shiraz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]