What is the physical path?

The physical path refers to the actual location of a directory or file in the filesystem, without any symbolic links or shortcuts. It represents the true hierarchy of directories leading to that file or directory.

For example, if you have a symbolic link /home/user/link that points to /var/www/html, the physical path of the target would be /var/www/html. When you use commands like pwd -P, it shows the physical path by resolving any symbolic links to their actual destinations.

0 Comments

no data
Be the first to share your comment!