리눅스 realpath

1 개요[ | ]

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

2 같이 보기[ | ]

3 참고[ | ]