Want to get real path rather than virtual path
I have a partition that I have mounted, and I access it through a link to my home directory. What I want to do is have a script that is using the virtual path to recognize the real path.
So if I have $HOME/mydirectory/ that is linked to /mnt/mypartition/, how can I get my script running in $HOME/mydirectory to recognize that its actual path is /mnt/mypartition ? |
Try using pwd -P to get the physical path.
|
Quote:
Solved! :) |
All times are GMT -5. The time now is 02:26 PM. |