TERMINAL-COLORS.D(5) TERMINAL-COLORS.D(5) terminal-colors.d - /etc/terminal-colors.d/[[][@].][] . . '. , . ( TERM). '. , . . : disable Turns off output colorization for all compatible utilities. See also the NO_COLOR environment variable below. enable ; disable . scheme , . . . , . , <<@xterm.scheme>> <>. (: <>). $XDG_CONFIG_HOME/terminal-colors.d $HOME/.config/terminal-colors.d . : - (, <>). . , . - , ASCII . black, blink, blue, bold, brown, cyan, darkgray, gray, green, halfbright, lightblue, lightcyan, lightgray, lightgreen, lightmagenta, lightred, magenta, red, reset, reverse yellow. ANSI , . : +---+--------------------------------------+ |0 | | | | | | | | +---+--------------------------------------+ |1 | | | | | +---+--------------------------------------+ |4 | | | | | +---+--------------------------------------+ |5 | , | | | | +---+--------------------------------------+ |30 | | +---+--------------------------------------+ |31 | | | | | | | | +---+--------------------------------------+ |32 | | | | | | | | +---+--------------------------------------+ |33 | ( | | | ) | | | | | | | +---+--------------------------------------+ |34 | | | | | | | | +---+--------------------------------------+ |35 | | | | | | | | +---+--------------------------------------+ |36 | | | | | | | | +---+--------------------------------------+ |37 | ( | | | ) | | | | | | | +---+--------------------------------------+ |40 | | +---+--------------------------------------+ |41 | | +---+--------------------------------------+ |42 | | +---+--------------------------------------+ |43 | ( | | | ) | | | | +---+--------------------------------------+ |44 | | +---+--------------------------------------+ |45 | | | | | +---+--------------------------------------+ |46 | | +---+--------------------------------------+ |47 | ( | | | ) | +---+--------------------------------------+ , \- C: +---+-----------------------------------+ |\a | (ASCII 7) | +---+-----------------------------------+ |\b | Backspace (ASCII 8) | +---+-----------------------------------+ |\e | Escape (ASCII 27) | +---+-----------------------------------+ |\f | | | | (ASCII 12) | +---+-----------------------------------+ |\n | | | | (ASCII 10) | +---+-----------------------------------+ |\r | | | | (ASCII 13) | +---+-----------------------------------+ |\t | | | | (ASCII 9) | +---+-----------------------------------+ |\v | | | | | | | (ASCII 11) | +---+-----------------------------------+ |\? | Delete (ASCII 127) | +---+-----------------------------------+ |\_ | | +---+-----------------------------------+ |\\ | | | | | | | (\) | +---+-----------------------------------+ |\^ | (^) | +---+-----------------------------------+ |\# | | | | (#) | +---+-----------------------------------+ , , , , - - , . , dmesg(1) , : echo 'alert 37;41' >> /etc/terminal-colors.d/dmesg.scheme , # () . - . TERMINAL_COLORS_DEBUG=all . NO_COLOR if defined, this disables output colorization unless explicitly enabled by a command-line option. See for more details. Supported since util-linux version 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 terminal-colors.d util-linux, . , . terminal-colors.d util-linux, Linux . util-linux 2.41 2025-03-29 TERMINAL-COLORS.D(5)