Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?

2638


How do you create a text file in linux?

1069


You want to verify which lines in the file kickoff contain ‘bob’. Which of the following commands will accomplish this?

956


What are the mv command options?

828


What does chmod 644 do?

956


What are the commands in linux?

953


What does chmod 755 do?

836


Which commands are used to set a processor-intensive job to use less cpu time?

988


What does make clean command do?

963


Enlist some linux networking and troubleshooting commands?

1000


What is $$ in shell script?

920


What is llvm used for?

1030


How do I check storage on linux?

974


What is clang llvm?

954


State and explain about features of UNIX?

988