Absolute and Relative Path

1. Absolute Path:

An absolute path is defined as specifying the location of a file or directory from the root directory(/). In other words, we can say that an absolute path is a complete path from start of actual file system from “/” directory.


2. Relative Path: Relative path is defined as the path related to the present working directly(pwd). It starts at your current directory andnever starts with a /.

Leave Comment

Your email address will not be published.