UNIX and Linux Programming
Showing posts with label
hostname
.
Show all posts
Showing posts with label
hostname
.
Show all posts
Wednesday, 9 January 2013
hostname and uname -n
You can see the name of the machine you are using with the
hostname
command:
Linux > hostname
LUBUNTU-Laptop
Linux >
The
uname -n
command does the same thing:
Linux > uname -n
LUBUNTU-Laptop
Linux >
Home
Subscribe to:
Posts (Atom)