100 Useful Command-Line Utilities
by Oliver; 201473. hostname
hostname prints the system's host name, which is like the name of the computer. If you've ssh-ed into multiple computers in a bunch of different terminal sessions, this command will remind you where you are:$ hostname