linux - [Solved-4 Solutions] How to see full symlink path ? - ubuntu - red hat - debian - linux server - linux pc
Linux - Problem:
How to see full symlink path ?
Linux - Solution 1:
- realpath isn't available on all linux.
- You can do the following if you have python 2.6 (or later) installed
Linux - Solution 2:
Linux - Solution 3:
- use the '-f' flag to print the canonicalized version.
Linux - Solution 4:
- But readlink would be preferred for use in a script rather than parsing ls