realpath 명령어는 centos7부터 내장된 명령어로서 파일의 절대 위치를 알려준다. 

특히 심볼링 링크가 가르키는 디렉토리를 보고 싶을 때 확인할 수 있다. 



centos 7부터 /bin 디렉토리가 /usr/bin/으로 이동했다.


$ ls -l /bin

lrwxrwxrwx. 1 root root 7  7월 28  2015 /bin -> usr/bin



$ realpath /bin

/usr/bin






'unix and linux' 카테고리의 다른 글

dstat 툴  (0) 2016.05.23
[centos7] systemctl 맛보기  (0) 2016.05.11
센트OS 7 다운로드 URL 설명  (0) 2016.05.02
setuid 동작 결과를 ps로 확인하기(ruser, euser)  (0) 2016.04.28
[nginx] echo > sudo 파일 권한  (0) 2016.04.25
Posted by '김용환'
,