get link to directory linux code example Example 1: bash ls show link ls -la | grep "\->" Example 2: show symlink readlink -f symlinkName