Answer the question
In order to leave comments, you need to log in
BASH: explain why multi-colored text is not displayed?
Hello.
I'm sitting tormented, I can't understand, I write:
echo "$Black================================================================================"
$Black
I have it
under Black='\[\e[0;30m\]'
\[\e]0;=========================================================================
Answer the question
In order to leave comments, you need to log in
First , carefully google / read how to use control codes correctly, for example:
https://www.shellhacks.com/ru/bash-colors/
or
man echo
-e enable interpretation of backslash escapes
echo -e "$Black==== ================================================= ==========================="
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question