how to determine the name of my linux machine ? hostname command returns localhost.localdomain
Posted on 2006-06-26
Basic question for a first time Linux user.
How do I get the name of my linux machine ? I am trying to install Oracle software on it and it claims that the /etc/hosts file has an incorrect value.
The only entry within the file is:
127.0.0.1 localhost.localdomain localhost
my i.p. address (on the virtual network) is
but I think I need to add this ip to the /etc/hosts file somehow.
Any suggestions on this or the basic question i asked ? Hence the points value as I'm not even sure of the question !