Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • what command are you using when this happens: text editor? if so, just check using cat <logfile>, these are probably used to set text format attributes for display (color, bold, italic...) Commented Jan 22, 2018 at 11:47
  • 1
    They're terminal control codes indeed, ^[[1m sets bold etc. Whatever prints your log, probably prints them too, even though it doesn't usually make much sense in a file. Commented Jan 22, 2018 at 11:58
  • any choice to remove them ? or filter them ? Commented Jan 22, 2018 at 12:08
  • 1
    Where is bash in this? Commented Jan 22, 2018 at 12:32
  • Have a look in this post, you might get lucky : stackoverflow.com/questions/6534556/… Commented Jan 22, 2018 at 13:07