Linux

리눅스 경로 / 와 // 와 ///

구차니 2022. 11. 1. 14:53

가끔 실수로 / 대신 //를 넣으면서 쓰긴 했는데

찾다보니 ///도 /와 동일하게 작동은 한다고 한다.

그런데 도대체. 무슨 표준으로 작동하는진 잘 안보네

~$ cd //
//$ cd -
~$ cd /
/$ cd -
~$ cd ///
/$ cd -
~$

[링크 : https://askubuntu.com/questions/23808/what-is-the-double-slash-directory]

[링크 : https://unix.stackexchange.com/questions/256497/on-what-systems-is-foo-bar-different-from-foo-bar]