hostname command

I am a new CentOS Linux server user. How do I change hostname on CentOS Linux?

{ 1 comment }

How do I change the hostname of a Debian Linux system permanently using the command line tools?


How do I find out my server name (machine name) under Linux operating systems using command shell?


I’m using FreeBSD 7.2 on HP laptop and getting IP info via WI-FI router. I’ve setup hostname in /etc/rc.conf buy after the boot process, I check host name with “hostname” command, but get empty line. Setting hostname with “hostname” works well, but after reboot host name is still empty. I suspect it has something to do with DHCP settings. How do I set hostname-using DHCP?


How do I change hostname under Linux operating system?


How do I change or set my hostname ( computer name ) under OpenBSD operating system?

{ 1 comment }

Q. Under Windows Server 2003 I can use active directory domain tools to get information about current domain and hostname. Can you tell me command to list current domain name and hostname under Red hat enterprise Linux 5? A. Both Linux / UNIX comes with the following utilities to display hostname / domain name: a) […]