if i run ls command it will show me the junk output what is
problem and how to resolve it

Answer Posted / maneeshkumar

Check the locale settings.
For finding the current locale settings.
# locale

For displaying all avaialable locales.
# locale –a
C
POSIX
en_CA
en_CA.ISO8859-1
en_CA.UTF-8
en_US
en_US.ISO8859-1
en_US.ISO8859-15
en_US.ISO8859-15@euro
en_US.UTF-8
es
es_MX
es_MX.ISO8859-1
es_MX.UTF-8
fr
fr_CA
fr_CA.ISO8859-1
fr_CA.UTF-8
iso_8859_1

Setting the locales.
# LC_ALL=en_US.UTF-8
# export LC_ALL
# locale
LANG=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=en_US.UTF-8
#

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is make command in linux?

552


How do I find hostname in linux?

577


How many interfaces(ethernet cards) are working using single command?

533


How do I find my user id in linux?

522


How many types of dos commands are there?

581






How do you execute more than one command or program from a single command line entry?

560


How do I get to root directory in linux?

573


What is file and example?

614


What is the difference between kill and kill in linux?

769


Write about an internal command.

600


Explain about gzip filename?

571


What is sudo bash command?

547


What is ps command in linux?

545


What file type is a makefile?

526


How cp command works in linux?

538