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
Who whoami linux?
What is $@ in bash?
Explain the ‘ls’ command in linux
How do I change directories in linux command line?
What is c++ makefile?
How do I check dns entry?
Who is unix command?
Which is the required command for checking the file system?
You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?
Brief about the command kill PID?
What is DISM command?
What does make clean command do?
What is Syntax of any Linux command?
Is llvm a virtual machine?
How can we increase disk read performance in single command in Linux?