빅

ls 했을때 디렉토리 색깔이 어둡다면?

너무 게을러졌는지 자료 정리를 많이 못하고 있네요. 
좀 더 부지런해져야 겠습니다.
 
 
 
 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개

.bashrc에 넣어도 작동이 될까요?
동작하네요. ^^

[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)
댓글을 작성하시려면 로그인이 필요합니다.

팁게시판

6,077건

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
12-06-02 조회 916
12-06-02 조회 1,587
12-06-01 조회 1,369
12-05-25 조회 1,636
12-05-25 조회 808
12-05-21 조회 1,413
12-05-19 조회 878
12-05-18 조회 1,153
12-05-16 조회 1,210
12-05-11 조회 773
12-05-07 조회 916
12-05-05 조회 1,129
12-05-05 조회 1,028
12-05-05 조회 913
12-05-04 조회 1,967
12-05-03 조회 1,089
12-04-30 조회 1,074
12-04-26 조회 2,012
12-04-25 조회 901
12-04-23 조회 1,069
12-04-23 조회 938
12-04-20 조회 2,241
12-04-20 조회 1,167
12-04-18 조회 869
12-04-17 조회 1,504