Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
According to the standards, pwd -Ppwd -P should return the path with symlinks resolved.
pwd -P
C function char *getcwd(char *buf, size_t size)char *getcwd(char *buf, size_t size) from unistd.hunistd.h should have the same behaviour.
char *getcwd(char *buf, size_t size)
unistd.h
getcwd pwd
According to the standards, pwd -P should return the path with symlinks resolved.
C function char *getcwd(char *buf, size_t size) from unistd.h should have the same behaviour.