Files and paths · Question 12 of 12
The current directory is /var/log. Which paths refer to the file /etc/hosts?
3 answers are correct. Hard Created with AI
Show answer
Answer
- A ../../etc/hosts
- B /etc/hosts
- C ../../../etc/hosts
Explanation
Two times .. lead from /var/log to the root directory. A further .. stays there, because in the root directory .. points to itself. ../etc/hosts, in contrast, would be /var/etc/hosts.