Symbolic link 동작 질문입니다.

athxue의 이미지

/home/abcde/g라는 폴더가 있고 /g 라는 파일은 왼쪽 폴더의 심볼릭 링크라 했을때 cd /g 후에 cd ..을 하면 /가 나오는게 맞는건가요? cd.. 후에 /home/abcde가 나오게 하려면 어떻게 해야 하나요?

ymir의 이미지

cd -P /g

[snip man cd]
The -P option says to use the physical directory structure instead of following
symbolic links (see also the -P option to the set builtin command);
the -L option forces symbolic links to be followed.
[/snip]

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』

되면 한다! / feel no sorrow, feel no pain, feel no hurt, there's nothing gained.. only love will then remain.. 『 Mizz 』