How do I determine if present working directory is physical or a link?
-
Sometimes your present working directory, may not be the physical path, it may be a link which points to the present working directory, to find out, run the following commands:
To find the physical present working directory
$ pwd -P /unixbod/unixbod1
To find the link to the present working directory
$ pwd -L /export/home/unixbod1
If both directories have the same present working directory then there is no link, so the present working directory is physical path.
© Lightnetics 2024