Link to home
Start Free TrialLog in
Avatar of exhuser
exhuser

asked on

Linux host name

Hello,

when I type hostname in the command prompt, it gives me one name. However, when I go to the host file in ECT it is different. The host file has the correct name. How can this be corrected?
Avatar of Kent W
Kent W
Flag of United States of America image

type
hostname your.host.com
SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@gheist is correct, if you are talking the newer versions of RedHat/CentOS that run systemd.

Good catch Gheist!