What do double slashes mean in UNIX path? Is `cd dir/subdir//` valid?
72
votes
1
answer
64935
views
> **Possible Duplicate:**
> [How linux handles multiple path separators (/home////username///file)](https://unix.stackexchange.com/questions/1910/how-linux-handles-multiple-path-separators-home-username-file)
Do
cd dir/subdir/
and cd dir/subdir//
mean the same thing in UNIX?
Will the latter work out? Does the difference have any special meaning for cd
, mv
, ls
, or for any other command, for that matter?
Asked by San
(937 rep)
Apr 25, 2011, 09:16 AM
Last activity: Mar 27, 2023, 11:13 AM
Last activity: Mar 27, 2023, 11:13 AM