Hi,
I am having issues with my centos 5.5 2.6.18-194.8.1.el5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux.
When I change my shell
chsh jane
/bin/csh
logout then log back in. I get this error: LANGUAGE_TERRITORY: Undefined variable.
Thanks in advance.
Jane
[SOLVED] changing from bourne/bash to C shell
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] changing from bourne/bash to C shell
My guess is that the variable LANGUAGE_TERRITORY is referenced somewhere, perhaps in the user's .??* files, but is undefined. I am unable to reproduce the error when I change a user's shell to /bin/csh.
Try (as root) [code]
grep LANGUAGE_TERRITORY ~jane/.??*
find /etc -type f -exec grep LANGUAGE_TERRITORY {} \; -ls
[/code]
Try (as root) [code]
grep LANGUAGE_TERRITORY ~jane/.??*
find /etc -type f -exec grep LANGUAGE_TERRITORY {} \; -ls
[/code]
Re: changing from bourne/bash to C shell
found it! Thank you Phil. It was on my fortran.csh, I revert back to the default bash shell. I do not get the message anymore.
=)
Jane
=)
Jane
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: [SOLVED] changing from bourne/bash to C shell
You are welcome. Labeling the topic [SOLVED] for posterity.