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 >