Comment Comment by tyingq Where it exists, there's also /proc/self/cwd, so you can do: readlink -e /proc/self/cwd parent tyingq 2 years ago