Properties\33[01m Setting High brightness\33[04m Underline\33[05m Flashing\33[07M Reverse Display\33[08m blanking\33[30m--\33[37m setting foreground color\33[40m--\33[47m Set background color\33[na the cursor to move n rows\33[NB cursor down n rows\33[NC cursor right shifts n rows\33[nd cursor left n rows\33[Y;XH Setting the cursor position\33[2J Clear Screen\33[k clears the contents from the cursor to the end of the line\33[s Save Cursor position\33
favourite OS?1) Linux2) Gnu Hurd3) Free BSD4) Other#? 1You have selected LinuxWhile you can also use the following loop expression in the shell:While ...; Do....DoneWhile-loop will run until the expression test is true. Would run while the expression, the We test for is true.The keyword "break" is used to jump out of a loop. The keyword "Continue" is used to skip to the next loop without executing the rest of the section.The For-loop expression looks at a list of strings (strings separated by s
Format: Echo"/033[Word background color; font color m string/033[control code"If you simply display the font color can be fixed control code bit 0m. Format: Echo"/033[Word background color; font Color m string/033[0m"Word Background color range:40-4940:Black41:Crimson42:Green43:Yellow44:Blue45:Purple46:Dark green47:White Word color:30-3930:Black31:Red32:Green33:Yellow34:Blue35:Purple36:Dark green37:White ANSI control code \033[0m close all properties \033[01m set high brightness \033[04m underli
Format: echo "/033[word background color; font color m string/033[control code"If you simply display the font color can be fixed control code bit 0m.Format: echo "/033[word background color; font Color m string/033[0m"Word background color range: 40-4940: Black 41: Crimson 42: Green 43: Yellow 44: Blue 45: Purple 46: Dark green 47: White word color: 30-3930: Black 31: Red 32: Green 33: Yellow 34: Blue 35: Purple 36: Dark green 37: White ANSI Control Code \33[0m Close All properties \33[01m set h
: Red32: Green33: Yellow34: Blue35: Purple36: Dark Green37: White The code is as follows:Echo-e "\033[47;30m black character \033[0m on white background"Echo-e "\033[31m Red word \033[0m"Echo-e "\033[32m Green word \033[0m"Echo-e "\033[33m Yellow word \033[0m"Echo-e "\033[34m Blue word \033[0m"Echo-e "\033[35m Purple word \033[0m"Echo-e "\033[36m sky blue Word \033[0m"Echo-e "\033[37m White character \033[0m"ANSI Control code\33[0m Close All Properties\33[01m Setting High brightness\33[04m Under
Format: echo-e "\033[word background color; font color m string \033[control code"If you simply display the font color can be fixed control code bit 0m.Format: echo-e "\033[word background color; font Color m string \033[0m"Word background color range: 40-49 40: Black41: Crimson42: Green43: Yellow44: Blue45: Purple46: Dark Green47: WhiteWord Color: 30-3930: Black31: Red32: Green33: Yellow34: Blue35: Purple36: Dark Green37: WhiteANSI Control code \33[0m Close All properties\33[01m Setting Hig
Tags: set background color and blue background red character BSP fontFormat: echo "/033[word background color; font color m string/033[control code"If you simply display the font color can be fixed control code bit 0m.Format: echo "/033[word background color; font Color m string/033[0m"Word background color range: 40-49 + : Black A : Crimson the : Green + : Yellow - : Blue $ : Purple $ : Dark green A: WhiteWord Color: 30-39 - : Black to : Red + : Green - : Yellow the : Blue * : Purple
-color-2.pngAdditional shell output font background color and font color, control code and other parametersFont background colorFont ColorControl codeIt is commonly used here to set high brightness/underline/blink/close All properties\33[0m 关闭所有属性 \33[01m 设置高亮度 \33[04m 下划线 \33[05m 闪烁 \33[07m 反显 \33[08m 消隐 \33[30m -- \33[37m 设置前景色 \33[40m -- \33[47m 设置背景色 \33[nA 光标上移n行 \33[nB 光标下移n行 \33[nC 光标右移n行 \33[nD 光标左移n行 \33[y;xH设置光标位置 \33[2J 清屏 \33[K 清除从光标到行尾的内容
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.