- Forums
- Linux Hosting
- How To Determine What Is My Server Name In Windows Or Linux
this page will show you a very handy and useful command that you can use in either windows or linux to determine what is the hostname or the server name of the computer [510], Last Updated: Sat May 18, 2024
wallpaperama
Tue Jul 08, 2008
2 Comments
10394 Visits
today i wanted to know what was the name of my computer or hostname
i have a windows and a linux(unix) machine so this is how you find what the name of the server is
LINUX:
send this command at the shell:
hostname
this will display the server name
WINDOWS:
go to the DOS prompt and type
hostname
i have microsoft windows xp, so is shows me the name of my computer