Linux › Section G · System configuration › Topic G.2

The structure of /etc

Almost everything that makes one Linux machine behave differently from another is a text file under /etc. Knowing how that directory is organised, and which edits are safe, lets you change a system without breaking it.

In this topic

  • What /etc is for
  • Files you meet first
  • The .d directory pattern
  • Vendor defaults versus local overrides
  • Identity: hostnamectl and localectl
  • Worked example: where does the change go?
  • Symlinks and generated files
  • Worked example: a safe edit of sshd_config
  • Permissions and package upgrades
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →