메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 17544 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

레드햇이 아닌 리눅스에서 미드나잇 커맨더(Midnight Commander)를 별도로 설치해서 사용하는 경우

mc를 실행하여 이런저런 작업 후 종료하면 처음 실행한 디렉토리로 pwd가 바뀌는 문제가 있다.

레드햇의 경우는 mc가 기본으로 포함되어 있어서 원래 디렉토리로 복귀되지 않도록 기본설정이 되어 있으나

다른 리눅스에서 별도로 mc를 설치하여 사용하면 이부분에 대한 기본설정이 되어 있지 않기 때문이다.

따라서 mc 사용후 종료시 이동해 있는 디렉토리로 현재 위치를 별도로 옮겨주는 쉘을 추가해 주어야 하는데

mc 설치시 기본포함된 mc-wrapper.sh 파일에 이 부분에 대한 명령어가 정의되어 있다.

 

간단한 기본설정 변경으로 이 문제를 해결할 수 있다.

 

2014년 10월 16일 CentOS 7.0 설치 후 해결한 방법

MC(미드나잇 커맨드) 메뉴에서

선택항목  > panel options 

[X] 디렉토리 빨리 다시 읽기  -->  체크

[X] Auto save panel setup   --> 체크        %%% 해결완료


====================================================


아래의 방법은 2013년 6월 기준으로 해결한 방법이었으나

현재 2014년 10월 16일 CentOS 7.0 설치후 적용하였으나 해결되지 않았다.


[bash쉘 기준]

 

root 계정만 설정하기

/root/.bashrc 파일에 아래 내용 추가

alias mc='. /usr/local/share/mc/bin/mc-wrapper.sh'

 

root 로그아웃 후 재접속

 

 

 

전체계정에 설정하기

/etc/profile 파일에 아래 내용 추가

alias mc='. /usr/local/share/mc/bin/mc-wrapper.sh'

 

mc-wrapper.sh 파일에 실행권한 주기

chmod +x /usr/local/share/mc/bin/mc-wrapper.sh

 

mc의 설치 위치가 다를 경우나 mc-wrapper.sh 파일의 위치가 다를 경우 해당 경로를 find로 검색하여 정확한 위치를 추가해야 한다.

   

  1. ZendGuardLoader 설치 에러

    Date2013.01.10 Category에러해결 By햇빛소년 Views24647
    Read More
  2. 특정 디렉토리에 있는 파일 또는 디렉토리의 퍼미션 변경

    Date2013.01.11 Category에러해결 By햇빛소년 Views24938
    Read More
  3. Apache-2.4.X 에서 mod_evasive-1.10.1 설치시 나오는 에러 해결...

    Date2013.01.11 Category에러해결 By햇빛소년 Views0
    Read More
  4. unable to include potential exec "include/top.html" in parsed file 에러 해결!!!

    Date2013.01.11 Category에러해결 By햇빛소년 Views30286
    Read More
  5. PHP5.3 가동후 에러 메세지

    Date2013.01.13 Category에러해결 By햇빛소년 Views0
    Read More
  6. modcurity 에러메세지

    Date2013.01.17 Category에러해결 By햇빛소년 Views0
    Read More
  7. apache2.x.x 컴파일 에러 해결 - /usr/local/lib/liblua.a: could not read symbols: Bad value

    Date2013.01.19 Category에러해결 By햇빛소년 Views0
    Read More
  8. pcre최신버전 소스설치 후 modsecurity-apache 컴파일시 에러

    Date2013.01.19 Category에러해결 By햇빛소년 Views76663
    Read More
  9. ZendGuardLoader.so: undefined symbol: compiler_globals

    Date2013.01.19 Category에러해결 By햇빛소년 Views25866
    Read More
  10. TIFF 설피시 /usr/local/include/jmorecfg.h:263:16: error: expected identifier before numeric constant 에러

    Date2013.06.04 Category에러해결 By햇빛소년 Views17422
    Read More
  11. mc(미드나잇 커맨드) 종료시 처음 PWD로 바뀌는 문제 해결

    Date2013.06.09 Category에러해결 By햇빛소년 Views17544
    Read More
  12. named 에러 (/var/log/massages) 가 있을 때 해결 방법

    Date2013.06.12 Category에러해결 By햇빛소년 Views33936
    Read More
  13. BIND 9: "Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones"

    Date2013.06.13 Category에러해결 By햇빛소년 Views19742
    Read More
  14. php-5.4.16 컴파일시 checking for db4 major version... Header contains different version 에러

    Date2013.06.18 Category에러해결 By햇빛소년 Views19302
    Read More
  15. phpmyadmin 4.0 로그인시 에러..

    Date2013.06.18 Category에러해결 By햇빛소년 Views59735
    Read More
  16. php.ini설정 에러 모음.

    Date2013.06.18 Category에러해결 By햇빛소년 Views16248
    Read More
  17. [MySQL] Incorrect integer value: '' for column '컬럼명' 오류 발생시

    Date2013.06.19 Category에러해결 By햇빛소년 Views17451
    Read More
  18. spamassassin 에러 Can't locate Mail/SpamAssassin/CompiledRegexps/body 0.pm in @INC

    Date2013.06.24 Category에러해결 By햇빛소년 Views16044
    Read More
  19. [sendmail: clamav-milter error] Milter: data, reject=451 4.3.2 Please try again later

    Date2013.06.27 Category에러해결 By햇빛소년 Views16906
    Read More
  20. Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use

    Date2013.06.29 Category에러해결 By햇빛소년 Views25214
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4