Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just set up Arch Linux (not my first time). Everything installed correctly but when I login (X isn't installed yet) I see:

Arch Linux 3.8.4-1-ARCH (tty1)

mgoszcz2 login: root
Last login: Thu Mar 28 21:47:57 on tty1
-bash: en_IE.UTF-8: command not found
[root@mgoszcz2 ~]#

Anyone knows what's causing this? Any way to fix this?

share|improve this question
Look through your shell initialization files for the line where you have incorrectly tried to set your locale. – jasonwryan Mar 27 '13 at 22:45
I looked through /etc/bash.bashrc /etc/issue & /etc/motd and didn't find anything.. Anywhere else I should look? – mgoszcz2 Mar 27 '13 at 22:55
See the Arch Wiki bash article for details on the relevant files... – jasonwryan Mar 27 '13 at 23:09
Thanks. I'll close the question once stack exchange allows me to :) – mgoszcz2 Mar 27 '13 at 23:23
If you found the issue, you can answer your own question: it may help someone else with a similar problem. – jasonwryan Mar 27 '13 at 23:54
up vote 6 down vote accepted

Thanks jasonwryan. It seems that by accident file /etc/locale.conf contained


instead of, correct


Thanks a million.

share|improve this answer
Had the same problem except mine was LANG=en_IE.UTF-8 UTF-8 thanx – user100818 Jan 27 '15 at 14:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.