Posted on 2006/11/27 11:21
Filed Under OS/Linux

작성 : LEOLO

[펌] http://blog.naver.com/leolo?Redirect=Log&logNo=60005709344
작성자의 요청이 있을경우 자삭함...


[redhat9.0]

redhat9.0 기본 bash shell을 사용할 경우.

# vi ~/.bashrc

export LS_COLORS="di=01;33":"fi=01;37":"ex=01;32":"ln=01;36":"so=01;33"    <- 추가

# source ~/.bashrc

 

"파일종류=속성;색상"

-------------------------------------------------------------------------------
export LS_COLORS="di=01;31":"fi=01;37":"ex=01;32":"ln=01;36":"so=01;33"
-------------------------------------------------------------------------------

디렉토리 = 붉은색
일반파일 = 흰색
실행파일 = 연두색
링크파일 = 하늘색
소켓파일 = 노랑색

--------
파일종류
--------
di = directory
fi = file
ln = linker file
no = text
ex = exe
so = soket
pi = name pipe
bd = block device
cd = charicter device

------------
ansi 색상표
------------
[text num] [bg num] [color]
30 40 black
31 41 red
32 42 green
33 43 yellow
34 44 blue
35 45 magenta
36 46 sky
37 47 white

-------
속성(?)
-------
00 delete_method
01 bold
05 blink
07 reverse


크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기
2006/11/27 11:21 2006/11/27 11:21

트랙백 주소 : http://blog.seabow.pe.kr/trackback/241



About

by 삐꾸강아쥐

Counter

· Total
: 137349
· Today
: 50
· Yesterday
: 0
블로그코리아에 블UP하기