리눅스 분류
.bashrc수정 후 명령어가 전혀 먹히지 않을때?
작성자 정보
- 박무환 작성
- 작성일
컨텐츠 정보
- 1,925 조회
- 0 추천
- 목록
본문
패스 설정을 위해 root 디렉토리 아래의 .bashrc 파일을 수정하였습니다.(export PATH=/usr/local/apache/bin)
그런데 재부팅 후 루트 계정으로는 명령어가 먹히지 않습니다.
그리고 루트로 로그임을 하면 아래와 같은 메세지가 나옵니다.
bash: id: command not found
bash: id: command not found
bash: id: command not found
[: too many arguments
bash: tput: command not found
bash: tput: command not found
bash: wc: command not found
[: : integer expression expected
그리고 명령어를 입력하면 명령어가 없다고 나옵니다.
수정을 위해서 .bashrc에 접근을 해야 하는데 접근할 수가 없군요.
좋은 방법이 없을까요?
그런데 재부팅 후 루트 계정으로는 명령어가 먹히지 않습니다.
그리고 루트로 로그임을 하면 아래와 같은 메세지가 나옵니다.
bash: id: command not found
bash: id: command not found
bash: id: command not found
[: too many arguments
bash: tput: command not found
bash: tput: command not found
bash: wc: command not found
[: : integer expression expected
그리고 명령어를 입력하면 명령어가 없다고 나옵니다.
수정을 위해서 .bashrc에 접근을 해야 하는데 접근할 수가 없군요.
좋은 방법이 없을까요?
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.