TERMINAL-COLORS.D(5) >>>>>>> >>>>>>>
>>>>>
terminal-colors.d - >>>> >>>>>
>>>>>>>> >>>>>> >>>>>>>
>>>>>>>>
>>>>
/etc/terminal-colors.d/[name.|[name]@term.]type
>>>>>
>>>> >>>>>>> >> >>> >>>>>>
>>>>>> >>>>>>> >>>>>>>
>>>>>>>> >>> >>>>>
>>>>>>>>.
>>>> >>> >>> >>>>>>
>>>>>>>>. >>>>> >>>>>>>>
>>>> >>> >>>>>>> >>>>>>>
>>>>> >>>>> >>>>>>>
>>>>>>>> >>> >>>>>>>.
>>> term >> >>>> >>>> >>>>>
(>>>>> >>>>>> TERM). >>>>
>>>>>> >>>>>>> >>>>>>>>
>>>>>> >> >>>>> >> >>>>>
>>>>>>> >>>>> >>>>>
>>>>>>> >>>>>>> >>>
>>>>>>>.
>>> >>> >> >>> >>>. >>>>>
>>>>>>> >>>>>>> >>:
disable
>>>> >>>>> >>>>>>>>
>>>>> >>>>>>>
>>>>>>>>>. >>>> >>>>>
>>>>> >>>>>> NO_COLOR
>>>>>.
enable
>>>> >>>>> >>>>>>>>>
>>>>>>>> >> >>>>> disable
>>>>>>.
scheme
>>>> >>>>>>>
>>>>>>>>> >>>>>>>>.
>> >>>> >>>>> >>>>>
>>>>> >>>>>>>>
>>>>>>>> >>>>>>>
>>>> >>>>>.
>>> >>>>> >>>>> >>>> >>>>>
>>>> >>> >>> >>>>> >> >>>
>>>>> >>>>>> >>>>>>> >>>>.
>>> >>>> >>>>>>> >>> >>>>>
@xterm.scheme >> >>>>>> >>> >>
dmesg@xterm.scheme. >>>>>>>> >>>>>>
>>>> >>>>>>> >>>> >> >>>>
>>> >>>> >>>>> >>>>> (>>>:
"disable").
>>>>> $XDG_CONFIG_HOME/terminal-colors.d >>
$HOME/.config/terminal-colors.d >>>>>
>>>>>>>>> >>>>>>> >>>>>.
>>>>> >>>>> >>>>>>>> >>>>>>>
>>>>>>> >>>>>>> >>>>> >>>:
>>>>> >>>>>->>>>>>>
>>>>> name >> >>> >>>>>
>>>>>> >>>>>>> (>>> >>>>
>>>>>>: error). >>>>>>> >>>>>
>>> >>>>. >>>>> >>
>>>>>>>>> >>>> >>>>>> >>>
COLORS >> >>>> >>>>>> >>>>>>.
The color-sequence can be a color name, an ANSI color sequence, or an
escape sequence.
>>>>> >>>>>>>
Valid color names are: black, blink, blue, bold, brown, cyan, darkgray,
gray, green, halfbright, lightblue, lightcyan, lightgray, lightgreen,
lightmagenta, lightred, magenta, red, reset, reverse, and yellow.
>>>>>>> >>>>> ANSI
An ANSI color sequence is composed of sequences of numbers separated by
semicolons. The most common codes are:
+---+--------------------------------+
|0 | >>>>>>>> |
| | >>>>> |
| | >>>>>>> |
+---+--------------------------------+
|1 | >>>>>>> |
| | >>>>>> |
| | >>>>>> |
+---+--------------------------------+
|4 | >>>> |
| | >>>>>> |
+---+--------------------------------+
|5 | >>>> |
| | >>>>>> |
+---+--------------------------------+
|30 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|31 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|32 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|33 | >>>>>>> |
| | >>>>>>> (>> |
| | >>>>>>) |
+---+--------------------------------+
|34 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|35 | >>>>>>> |
| | >>>>>>>>>> |
+---+--------------------------------+
|36 | >>>>>>> |
| | >>>>>>>> |
+---+--------------------------------+
|37 | >>>>>>> |
| | >>>>>>> (>> |
| | >>>>>>>>) |
+---+--------------------------------+
|40 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|41 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|42 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|43 | >>>>>>> |
| | >>>>>>> (>> |
| | >>>>>>) |
+---+--------------------------------+
|44 | >>>>>>> |
| | >>>>>>> |
+---+--------------------------------+
|45 | >>>>>>> |
| | >>>>>>>>>> |
+---+--------------------------------+
|46 | >>>>>>> |
| | >>>>>>>> |
+---+--------------------------------+
|47 | >>>>>>> |
| | >>>>>>> (>> |
| | >>>>>>>>) |
+---+--------------------------------+
>>> >>>> >>>>>>> >>>>>>>>
>>>>> >>>>> >>>>>>
>>>>>>> >> >>>>>> dmesg(1)>
>>>>>>:
echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme
>>>>>>> >>>>>>
An escape sequence is needed to enter a space, backslash, caret, or any
control character anywhere in a string, as well as a hash mark as the
first character. These C-style backslash-escapes can be used:
+----+----------------------------+
|\a | >>> (ASCII 7) |
+----+----------------------------+
|\b | >>>>> |
| | >>>>> (ASCII 8) |
+----+----------------------------+
|\e | >>>> (ASCII 27) |
+----+----------------------------+
|\f | >>>>> |
| | >>>>>>> |
| | (ASCII 12) |
+----+----------------------------+
|\n | >>> >>>> |
| | (ASCII 10) |
+----+----------------------------+
|\r | >>>> >>> |
| | >>>>> (ASCII 13) |
+----+----------------------------+
|\t | >>>>> (ASCII 9) |
+----+----------------------------+
|\v | >>>>> |
| | >>>>>> (ASCII |
| | 11) |
+----+----------------------------+
|\? | >>> (ASCII 127) |
+----+----------------------------+
|\_ | >>>>> |
+----+----------------------------+
|\\ | >>>> |
| | >>>>> |
| | >>>>> (\) |
+----+----------------------------+
|\^ | >>>>> |
| | >>>>>>> (^) |
+----+----------------------------+
|\\# | >>>>> |
| | >>>>>> (#) |
+----+----------------------------+
>>>>>>>
>>>>>>> >>>>>> >>>> >>>>
>>>> >>> >>>> >>> >>>> >> #
(>>>>). >> >>>>>>> >>> >>>>>
>>>>>> >> >>>>> >>> >>>
>>>>> >>>>>>.
>>>>>>
TERMINAL_COLORS_DEBUG=all
>>>>> >>>>>> >>>>>>>.
NO_COLOR
>>> >>>>>> >>> >>> >>>>
>>>>> >>>>>>>> >> >>
>>>>>> >>>>>> >>> >>>>
>>> >>>>>>>. >>>>
>>>>> >>
>>>>>>>>. >>>> >>> >>>>>
util-linux >>> 2.41.
>>>>>>>
$XDG_CONFIG_HOME/terminal-colors.d
$HOME/.config/terminal-colors.d
/etc/terminal-colors.d
>>>>>
>>> >>>>>>> >>>>> >>>>>>>
>>>>>>>>>:
touch /etc/terminal-colors.d/disable
>>> >>>>>>> >>>>> >>>>>>>
>>>>>>>>> >>> >>>> vt100
>>>>>:
touch /etc/terminal-colors.d/@vt100.disable
>>> >>>>>>> >>>>> >>>>>>>
>>>>>>>>> >>> dmesg(1):
touch /etc/terminal-colors.d/disable
touch /etc/terminal-colors.d/dmesg.enable
>>>>>>>>>
The terminal-colors.d functionality is currently supported by all
util-linux utilities which provide colorized output. For more details
always see the COLORS section in the man page for the utility.
>>>>>>> >> >>>>>>>
>>>>>>> >>>>>>> >>>>>>
>>>>>> >>>>>>>>
.
>>>>>>
terminal-colors.d >>> >> >>>> util-linux >>>>
>>>> >>>>>>> >> >>>>> >>>>
>>>>> .
util-linux 2.42.3 2026-09-02 TERMINAL-COLORS.D(5)