Re: [gtk+-2.6.7] configure problem



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 LinuxDAQ-Labs org


On 4/22/05, Xu Qiang <Qiang Xu fujixerox com> 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
> 
>



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