Say for example I have these types of paths to files in a script:
Is there a command I can call such as
readlink that will convert this path to its actual physical form:
Ah, asked too quickly. On Linux, the answer is to use
readlink man page
If you aren't interested in following
This is fully portable (except to some pre-POSIX antiques).