Networking / Beginners

Networking Commands

The following sections present Linux commands that are used to display information about the network or configure its settings.

The hostname command

The hostname command simply displays the computer's host name. It has the following syntax:

hostname [name]

If you use this command without any parameters, the computer's host name is displayed. If you specify a name, the computer's host name is changed to the name you specify.

[Previous] [Contents] [Next]