$ mkdir dir $ ln -s dir sym $ cd sym $ pwd /data/data/com.termux/files/home/sym $ perl -MCwd -E'say cwd()' /data/data/com.termux/files/home/sym ### update2: note the difference $ perl -MCwd -E'say getcwd()' /data/data/com.termux/files/home/dir