[systemd-devel] Systemd stop info
Mantas Mikulėnas
grawity at gmail.com
Mon Feb 24 11:24:03 UTC 2020
On Mon, Feb 24, 2020 at 1:04 PM Bao Nguyen <baondt at gmail.com> wrote:
> Hi everyone,
>
> When rebooting the system, I notice systemd print out:
>
> [[0;32m OK [0m] Stopped Account Service
>
> What do 0;32m and 0m means?
>
With invisible characters included, "ESC [ <…> m" is an ANSI/ECMA-48 "SGR"
text formatting code
<https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters> – mostly
used for changing text colors.
Parameter 0 means "reset all formatting", 32 selects foreground color
(green).
It is unusual to see this in Linux console – normally the code should
remain invisible and just make text green.
--
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200224/caef5070/attachment.htm>
More information about the systemd-devel
mailing list