Results 1 to 2 of 2
Thread: cd // ?
Enjoy an ad free experience by logging in. Not a member yet? Register.
cd // ?
I don't know how many of you guyz came across this,
cd // ls
Do we have special // directory or is it some kind of a bug
- Join Date
- Feb 2005
Neither. Multiple slashes are folded to one for convenience so /home/mydir and ///////home///////////////mydir as equivalent (though the latter takes more typing). It means, for example, that you don't have to worry about whether your HOME variable ends with a slash when you do something like "cd $HOME/myfiles".