Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • The question is: who is doing the resolving? With the default behaviour, bash resolves the symlink and then pretends that you're in /usr/sys instead of in /usr/local/sys. With set -P, bash doesn't do anything by itself and lets the underlying system behaviour show (which is also to resolve the symlink, but now it's impossible to be in /usr/sys). Commented Feb 28, 2023 at 2:58