What is an absolute pathname?

Đức Lưu

New member
What is an absolute pathname?
A. pathname relative to a parent directory
B. pathname relative to the root (/)
C. pathname relative to parent and current directory
D. pathname relative to the current directory
 
Answer: b
Explanation: When a file’s pathname is determined with respect to the root(/), such a pathname is called absolute pathname. No two files in a UNIX system can have same absolute pathnames. Two files can be of same name but in different directories hence their pathname would be different from each other. For example, /bin/user06/dir_01 is an example of absolute pathname.
 

Tìm kiếm

Back
Top