너무 게을러졌는지 자료 정리를 많이 못하고 있네요.
좀 더 부지런해져야 겠습니다.
dircolors -p > ~/dircolors.txt
eval $( dircolors -b ~/dircolors.txt)
ls 해보면 밝은색깔을 볼수 있습니다.
-p, --print-database output defaults
-b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS
댓글 2개
13년 전
.bashrc에 넣어도 작동이 될까요?
13년 전
동작하네요. ^^
[root@sf2 ~]# cat /root/.bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
dircolors -p > ~/dircolors.txt
eval $( dircolors -b ~/dircolors.txt)
[root@sf2 ~]# cat /root/.bashrc
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
dircolors -p > ~/dircolors.txt
eval $( dircolors -b ~/dircolors.txt)
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6077 | 9년 전 | 169 | ||
| 6076 |
PlayPixel
|
9년 전 | 192 | |
| 6075 | 9년 전 | 180 | ||
| 6074 | 9년 전 | 244 | ||
| 6073 |
|
9년 전 | 196 | |
| 6072 |
|
9년 전 | 367 | |
| 6071 | 9년 전 | 279 | ||
| 6070 |
|
9년 전 | 321 | |
| 6069 | 9년 전 | 280 | ||
| 6068 |
|
9년 전 | 239 | |
| 6067 | 9년 전 | 250 | ||
| 6066 |
|
9년 전 | 370 | |
| 6065 |
PASKRAN
|
9년 전 | 258 | |
| 6064 | 9년 전 | 279 | ||
| 6063 |
kiplayer
|
9년 전 | 359 | |
| 6062 |
|
9년 전 | 317 | |
| 6061 | 9년 전 | 258 | ||
| 6060 |
|
9년 전 | 321 | |
| 6059 |
|
9년 전 | 262 | |
| 6058 |
|
9년 전 | 262 | |
| 6057 | 9년 전 | 304 | ||
| 6056 |
|
9년 전 | 245 | |
| 6055 |
|
9년 전 | 299 | |
| 6054 |
|
9년 전 | 280 | |
| 6053 |
snshero
|
9년 전 | 624 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기