Find And Set The Name Of Your Computer With The hostname Command
Your computer has a name and it is likely that you set it up when installing Linux in the first place but if you are using a computer set up by somebody else you might not know its name.
You can find and set the name for your computer to make it easier for people to discover you on a network by using the hostname command.
READ Full article