>> Edit article
이름
제목
패스워드
리눅스 레드햇6.1을 깔고 쓰고 있는데여.. 쓰고 있는데 어느땐가 ls란 명령어가 안먹더라구여.. 알 수 없는 에러메시지가 뜨더군여.. 그래서 여기저기 둘러보다가. /etc/profile.d/colorls.sh 여기서 <-->처음 화일 상태<--> # color-ls initialization eval `dircolors --sh /etc/DIR_COLORS` if echo $SHELL |grep bash 2>&1 >/dev/null; then # aliases are bash only alias ll='ls -l --color=tty' alias l.='ls .[a-zA-Z]* --color=tty' alias ls='ls -F --color=tty --show-control-chars' fi 이렇게 고쳐주라구 하더군여.. 그런데 ls 란 명령어는 먹는데.. bash: /etc/profile.d/colorls.sh: line 9: syntax error: unexpected end of file 이런 에러메시지가 뜨더군여.. # color-ls initialization eval `dircolors --sh /etc/DIR_COLORS` if echo $SHELL |grep bash 2>&1 >/dev/null; then # aliases are bash only # alias ll='ls -l --color=tty' # alias l.='ls .[a-zA-Z]* --color=tty' # alias ls='ls -F --color=tty --show-control-chars' alias ls=' ls -F --color=auto' <---- 추가 해 줬음.. # fi <------------- 이 부분에 에러가 나는 것 같은데.. 주석을 풀어주면.. 또 똑같이 ls명령어가 안먹더군여 여기에 주석을 달면 ls는 먹는데 아래와 같은 메시지가 뜨구여.. bash: /etc/profile.d/colorls.sh: line 9: syntax error: unexpected end of file 혹시 이런 메시지가 뜨는 원인과.. 이 화일의 역활..등등.. 해결할 수 있는 방법을 알고 있는 계시는분 정중하게 답변 부탁드립니다.. 알려주세여..^^;;
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved