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 are the basic elements of firewall?

2 Answers   Athena Security Solutions, CMC,


How do I clear terminal command history?

0 Answers  


What are the basic commands for user management?

0 Answers  


How do I permanently set ulimit in linux?

0 Answers  


what do know about commands?

0 Answers   Ericsson,






Which Command used to lock user password in Linux?

0 Answers  


How to add Crete a new ftp user? or How to add a exiting user into FTP ?

1 Answers   Mind Tree,


What is $@ in shell?

0 Answers  


What are linux commands useful?

0 Answers  


What are two functions the move mv command can carry out?

0 Answers  


What is #!/ Bin sh?

0 Answers  


How do I navigate in cmd?

0 Answers  


Categories