Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 501 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 501 Bytes

hostname

hostname command in Linux is used to obtain the DNS(Domain Name System) name and set the system's hostname or NIS(Network Information System) domain name. A hostname is a name which is given to a computer and it attached to the network. Its main purpose is to uniquely identify over a network.

Syntax

hostname -[option] [file]

Example

hostname

Recourses