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

Answers were Sorted based on User's Feedback



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

Answer / mahendraswain

set your terminall setting by stty and before that export ls
command to PATH variable

Is This Answer Correct ?    5 Yes 1 No

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

Answer / 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

More Linux Commands Interview Questions

What is linux load average?

0 Answers  


How do you run a command for a limited time?

0 Answers  


In my linux machine, i lost /etc/passwd file and /etc/shadow file, then how can i recover it?

5 Answers   Google,


What is a makefile in c?

0 Answers  


What are commands in grammar?

0 Answers  


What is the difference between command ‘ping’ and ‘ping6’?

0 Answers  


Main configuration file and command used for NFS enabling exported directories and deamons?

0 Answers  


How do I check my system performance?

0 Answers  


What does the ps command do in linux?

0 Answers  


my clients are getting services from servers but how to know which client is using which service. is there any files to keep information about these? clients used ftp, nis, samba, apache, squid, nfs and mail services how to know how many users got service from server side with date,time and client system ip ?

3 Answers   Wipro,


What is the command to find the hardware configuration in Linux?

2 Answers  


How do I change shell in linux?

0 Answers  


Categories