Hi
When I enter the command hostname output is
hostname1.domain1.com
but I wanted hostname to return just
hostname1
/etc/hosts has this format
ip fqdn hostname
should i change this to
ip hostname fqdn
What should be done.
OS is RHEL 5.2
Thanks in advance