2007. 7. 13. 16:33
printf color code
2007. 7. 13. 16:33 in 리눅스 일반
The Color Code:
ESC Code: CTRL-v ESC, ^[, or 33 (ESC is ascii 27 decimal = 33 octal).
{attr} is one of following
0Reset All Attributes (return to normal mode)
1Bright (Usually turns on BOLD)
2 Dim
3Underline
5Blink
7 Reverse
8Hidden
{fg} is one of the following
30Black
31Red
32Green
33Yellow
34Blue
35Magenta
36Cyan
37White
{bg} is one of the following
40Black
41Red
42Green
43Yellow
44Blue
45Magenta
46Cyan
47White
'리눅스 일반' 카테고리의 다른 글
vimrc 설정 (0) | 2008.12.10 |
---|---|
유용한 프로그램들 (0) | 2008.05.30 |
Colorful Shells -- Using ANSI Color Codes (0) | 2007.07.13 |
리눅스 그래픽 - 칼라 지정 (0) | 2007.07.13 |
[본문스크랩] 리눅스 신형 ramdisk 메커니즘 tmpfs (0) | 2006.10.27 |