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
Brief about finger username?
What file type is a makefile?
Which is the required command for checking the file system?
can any one send me one project on linux ...?
How do I find the umask value in linux?
Is a command a full sentence?
How do I clear bash history in linux?
What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?
How do I open a text file in cmd?
What is the difference between kill and kill in linux?
What does chmod do in linux?
How do I move to root in linux?
Explain the working of command grouping?
What is 9 in kill?
please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in