Skip to main content
Visitor II
November 6, 2020
Question

Why systemdctl output of strange characters

  • November 6, 2020
  • 1 reply
  • 602 views

These should be escape characters and should not be displayed0693W000005AY0yQAG.png

    This topic has been closed for replies.

    1 reply

    ST Employee
    November 6, 2020

    The escape characters are supposed to provide colored output and bold+italic characters.

    It is possible that PuTTY does not recognize them due to different character set or language setup.

    I have searched for specific flags to systemctl to disable such "beautified" output, but apparently there are not!

    As a workaround you can pipe the output through another command, so systemctl automatically disables the "beautified" output:

    systemctl | cat