7.1.1. What is my machine name? hostname
The hostname command can be used to determine the name of
the machine that you are logged into. This may sound silly at first.
After all, you logged into that machine in the first place, right?
You will discover that if you have access to many machines, you will
frequently skip from one to the next and sometimes you will need to
get your bearings.
If you are root, you can give hostname an argument to
change the hostname.