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
What is bash linux?
What does history command do in linux?
How do I find command history in linux?
How do I check disk space in bash?
Which command puts a script to sleep untill a signal is recieved?
Explain the free command.
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
How can I create a file with cmd?
What is the difference between find and locate command in linux?
What is a ulimit in unix?
What signal is ctrl c?
What language is clang written in?
What is file and example?
Who unix commands?
What are different command to check ram, process and hdd of linux machine?