On one of our servers, we have a directory with the following path:/daten/i/scriptsWhen you go to /daten/i, one can see that scripts is a soft link to /batch.When I type cd /daten/i/scripts and then pwd, I see /daten/i/scripts.Is there a way, a command, that I can type in at /daten/i/scripts that shows me that I'm in a soft link, that I am really in /batch?
How can I make pwd resolve a soft link?
shell;symlink;pwd;cwd
Yes, pwd has -P (--physical) option to avoid all symlinks.So do:pwd -Por you can use the canonical way, readlink:readlink -f /pathCheck man pwd and man readlink.