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
How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?
How do you create a text file in linux?
You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?
What are the mv command options?
What does chmod 644 do?
What are the commands in linux?
What does chmod 755 do?
Which commands are used to set a processor-intensive job to use less cpu time?
What does make clean command do?
Enlist some linux networking and troubleshooting commands?
What is $$ in shell script?
What is llvm used for?
How do I check storage on linux?
What is clang llvm?
State and explain about features of UNIX?