uname/hostname

hostname gives the name of the machine.

uname prints system information.

The option -a prints all available information.