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 does free command do in linux?

578


What is an os command?

559


What is mkdir?

528


What is devops model?

514


How do I check my cpu speed?

517






Write a command that will display all .txt files, including its individual permission.

2240


What is difference between egrep and grep?

511


How do you kill a process in linux?

548


What does && mean in bash?

568


What are different command to check ram, process and hdd of linux machine?

528


Where is command history stored in linux?

531


How use linux command line?

522


What does execute mean in linux?

539


What is env command in linux?

507


What is a ulimit in unix?

510