리눅스 realpath


개요

리눅스 realpath
  • 절대경로를 얻는 리눅스 명령어
root@localhost1:~# realpath /etc/../var/
/var
root@localhost1:~# cd /etc/ssh
root@localhost1:/etc/ssh# realpath ../hosts
/etc/hosts

같이 보기

참고