How can i find the real path progrmatically from an directory alias?
for eg: i have
Code:
path1=/home/db2inst1/sqllib/java/db2jcc.jar
file which actually is a alias of the real file (
Code:
path2=/opt/ibm/db2/V9.1/java/db2jcc.jar
)
so by giving path1 as input to some shell program/script, how can i find the real path (path2)
please help