in unix how to change old name to new name
Answer Posted / gaurav verma
1. open the file /etc/sysconfig/network and change the
parameter HOSTNAME=<old name> to new name.
2. restart the network services.
3. open the file vi /etc/hosts, and change the old name to
new name.
127.0.0.1 <old name> localhost.localdomain
localhost
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Which is the required command for checking the file system?
How do you sort cpu in top command?
What are grep patterns called?
What is option in linux command?
In order to display the last five commands you have entered using the fc command, you would type?
How do you kill a process in linux?
Explain about refer?
Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?
What are the options of wc command?
What is $@ in bash?
Brief about finger username?
What is ps command in linux?
Why is linux cpu usage so high?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
Which command is used to clear the screen?