Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix hostname command

Quick links

About hostname
Syntax
Examples
Related commands
Unix main page

About hostname

Set or print name of current host system. Additional information about the term hostname can be found on our hostname dictionary definition.

Syntax

hostname [ name-of-host ]

name-of-host If proper privilege specifies the name of the host.

Examples

hostname

Would display the name of the hostname for example: computerhope.

Related commands

hostid
uname

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope