Beginner
Linux & Shell Scripting
Q31 / 100
What is the difference between a "relative path" and an "absolute path"?
Correct! Well done.
Incorrect.
The correct answer is A) An absolute path starts from the root directory ("/") and fully specifies a location, while a relative path is interpreted relative to the current working directory
A
Correct Answer
An absolute path starts from the root directory ("/") and fully specifies a location, while a relative path is interpreted relative to the current working directory
Explanation
Absolute paths (e.g. "/home/user/file.txt") unambiguously specify a location regardless of the current directory, while relative paths (e.g. "../file.txt") depend on where the command is run from.
Progress
31/100