Hi, If you are using csh, use "rehash" buildin command ... well, in fact, I'm not sure if csh have such command, but tcsh does. To see what's your default shell, just look at the /etc/passwd file. I don't know any command which can report your login shell for you, but you can easily write one yourself by C language, just call getusershell() as following: #include <stdio.h> #include <stdlib.h> #include <unistd.h> int main (int argc, char *argv[]) { printf("%s\n", getusershell()); exit(0); } Regards, KC kccheng@xxxxxxxxxxxxxxxxx On 4/22/05, Xu Qiang <Qiang.Xu@xxxxxxxxxxxxx> wrote: > KC wrote: > > The "hash" command is a builtin command of bash ... it's not > > an executable file. > > And of course you don't need to restart X Window, just use > > "hash -r" should fix your problem. > > It seems I am using C shell. Btw, how to find whether a shell is C shell, B shell, or K shell? > > Thanks, > > Regards, > Xu Qiang > > _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list