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 do I use nslookup in linux?
How do I do a whois search?
what do know about commands?
What is clang tidy?
Which daemon is used for scheduling of the commands?
Brief about the command nn?
Which are the linux directory commands?
What is the command to delete a file linux?
What command do you type to find help about the command who?
What is df command in unix?
What is devops model?
Which command is used to compare the files?
What is makefile in unix?
Is python faster than bash?
How can I delete a file in linux?