When linking a directory to root, I get this error:
$ ln -s ~/inbox/ / $ ln: //: Is a directory
Bash autocompletes the directory path by adding a /. I've tried escaping without success.
$ ln -s ~/inbox /
works though. Why is this?
In pathname resolution, having a trailing
Zsh removes the trailing
Is that exactly what you ran?
Trying to overwrite an existing symlink that points to a directory.
Trying to create a hard link to a directory.
If it is what you were running, what does