Q. Which file contains the configuration for the system hostname in Linux?

  • (A) /etc/hostname
  • (B) /etc/sysconfig
  • (C) /etc/network/interfaces
  • (D) /etc/hosts
πŸ’¬ Discuss
βœ… Correct Answer: (A) /etc/hostname
Explanation: The '/etc/hostname' file contains the configuration for the system hostname in Linux.
Explanation by: Ranjeet
The '/etc/hostname' file contains the configuration for the system hostname in Linux.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
116
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ranjeet
Publisher
πŸ“ˆ
92%
Success Rate