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 can we increase disk read performance in single command?
How do you copy in linux terminal?
What is the difference between clang and llvm?
Which command reduces the size of a file?
Is cmake a compiler?
How do you run command every time a file is modified?
How do I know my shell?
What is #!/ Bin sh?
What is nslookup command?
What command should you use to check your file system?
What are the basic commands in command prompt?
What does comm do and how to use it?
How do I check my disk space?
How do I find the linux version?
What will happen when a system call is encountered in a user program?