Forrest logo
back to the uname tool

uname:tldr:a5be2

uname: Print system hostname.
$ uname -n
try on your machine

The command "uname -n" is used to display the hostname of the system.

Here is the breakdown of the command:

  • "uname" is a command in Unix-like operating systems that stands for "Unix Name", and it is used to retrieve various system-related information.
  • "-n" is an option/flag that can be passed to the "uname" command. In this case, it specifically requests the hostname information.

When you run "uname -n" in the terminal, it will output the hostname of the system on which you are working. The hostname represents the unique name assigned to a computer within a network.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the uname tool