Skip to content

Glossary: Linux for Developers

/etc/hosts

A text file that maps names such as `localhost` to addresses. Linux checks it before asking DNS.

Where the book teaches it

Related terms

Host addresses (127.0.0.1, 0.0.0.0)