Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6886113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:43:08+00:00 2026-05-27T05:43:08+00:00

I tried the following command for i in `ls`; do ls $i; done and

  • 0

I tried the following command

for i in `ls`; do ls $i; done

and got the following output:

ls: a.out: No such file or directory
ls: c: No such file or directory
ls: contest: No such file or directory
ls: cpp: No such file or directory
ls: java: No such file or directory
ls: : No such file or directory

It is confusing since the list of files was also obtained using ls. When I tried to do an od on echo, i see the following:

0000000 033 133 060 155 033 133 060 061 073 063 062 155 141 056 157 165 
        033   [   0   m 033   [   0   1   ;   3   2   m   a   .   o   u   
0000020 164 033 133 060 155 012 
          t 033   [   0   m  \n  
0000026
0000000 033 133 060 061 073 063 064 155 143 033 133 060 155 012 
        033   [   0   1   ;   3   4   m   c 033   [   0   m  \n  
0000016
0000000 033 133 060 061 073 063 064 155 143 157 156 164 145 163 164 033 
        033   [   0   1   ;   3   4   m   c   o   n   t   e   s   t 033 
0000020 133 060 155 012 
          [   0   m  \n  
0000024
0000000 033 133 060 061 073 063 064 155 143 160 160 033 133 060 155 012 
        033   [   0   1   ;   3   4   m   c   p   p 033   [   0   m  \n  
0000020
0000000 033 133 060 155 146 151 154 145 056 164 170 164 033 133 060 155 
        033   [   0   m   f   i   l   e   .   t   x   t 033   [   0   m   
0000020 012 
         \n  
0000021
0000000 033 133 060 061 073 063 064 155 152 141 166 141 033 133 060 155 
        033   [   0   1   ;   3   4   m   j   a   v   a 033   [   0   m   
0000020 012 
         \n  
0000021
0000000 033 133 155 012 
        033   [   m  \n  
0000004

What does these “033 [ 0 m” characters stand for? How do I avoid them? Are they the cause of this problem?

Please help.

Thanks,
Karthick S.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:43:09+00:00Added an answer on May 27, 2026 at 5:43 am

    The “033 [ 0 m” characters are escape codes for colouring terminal output. Try using this instead:

    for file in $(unset LS_COLORS \ls);
    do
         ls "$file";
    done
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried the following command unsuccessfully sdiff <(ping www.nato.int) <(ping www.reuters.com) Is there any
I tried to run the following command and it says there is nothing to
I tried following the README file in Ruby 1.9.1 but I can't compile it
I'll point out now, that I'm new to using saxon, and I've tried following
When installing rJava using the install.packages(rJava) command I get the following error: checking Java
I am looping over all the files in a directory with the following command:
I can't update the rubygems from 1.3.1 to 1.3.5. I've tried the following commands
Tried following the instructions here: How to use Google app engine with my own
I tried following the answer to this question , but could not get xsd.exe
Have you managed to get Aptana Studio debugging to work? I tried following this,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.