If you have a file named /tmp/hosts pointing to a file named /etc/hosts and the /etc/hosts file is deleted, then which of the following statements is true?

If you have a file named /tmp/hosts pointing to a file named /etc/hosts and the /etc/hosts file is deleted, then which of the following statements is true?Category: Introduction to Linux IAuthor "LinuxQuestions"If you have a file named /tmp/hosts pointing to a file named /etc/hosts and the /etc/hosts file is deleted, then which of the following statements is true?
Linux Questions Staff asked 1 year ago

If you have a file named /tmp/hosts pointing to a file named /etc/hosts and the /etc/hosts file is deleted, then which of the following statements is true?

  • The /tmp/hosts file now points to nothing
  • You can still access the data by using /tmp/hosts
  • The data from /etc/hosts is automatically copied into /tmp/hosts before /etc/hosts is deleted
  • It is not possible to delete the /etc/hosts file while a soft link is pointing to it

About the author