너무 게을러졌는지 자료 정리를 많이 못하고 있네요.
좀 더 부지런해져야 겠습니다.
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)
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4099 | |
| 29 |
아우겐나이스
|
21년 전 | 4477 | |
| 28 |
아우겐나이스
|
21년 전 | 3504 | |
| 27 | 21년 전 | 5882 | ||
| 26 | 21년 전 | 3155 | ||
| 25 | 21년 전 | 6132 | ||
| 24 | 18년 전 | 3699 | ||
| 23 | 21년 전 | 3693 | ||
| 22 | 21년 전 | 4280 | ||
| 21 | 21년 전 | 3872 | ||
| 20 | 21년 전 | 4271 | ||
| 19 | 21년 전 | 6723 | ||
| 18 | 21년 전 | 4770 | ||
| 17 | 21년 전 | 7016 | ||
| 16 | 21년 전 | 4210 | ||
| 15 | 21년 전 | 2670 | ||
| 14 | 21년 전 | 5008 | ||
| 13 | 21년 전 | 3433 | ||
| 12 |
Recluse
|
21년 전 | 3911 | |
| 11 |
아우겐나이스
|
21년 전 | 3593 | |
| 10 |
Recluse
|
21년 전 | 3433 | |
| 9 | 21년 전 | 4048 | ||
| 8 | 21년 전 | 5217 | ||
| 7 | 21년 전 | 4796 | ||
| 6 | 21년 전 | 5736 | ||
| 5 | 21년 전 | 4152 | ||
| 4 | 21년 전 | 4890 | ||
| 3 | 21년 전 | 4784 | ||
| 2 | 21년 전 | 3287 | ||
| 1 | 22년 전 | 4374 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기