Network Configuration

hostname

English

Overview

A command for displaying and setting a system's hostname.

Details

While `hostnamectl` handles making a persistent configuration change, `hostname` is used as a lightweight command for simply checking or temporarily changing the current hostname.

More Linux terms