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

Which is the required command for checking the file system?

1060


How do you sort cpu in top command?

1064


What are grep patterns called?

1012


What is option in linux command?

1135


In order to display the last five commands you have entered using the fc command, you would type?

921


How do you kill a process in linux?

1102


Explain about refer?

968


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

954


What are the options of wc command?

1025


What is $@ in bash?

1137


Brief about finger username?

956


What is ps command in linux?

1008


Why is linux cpu usage so high?

1037


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

983


Which command is used to clear the screen?

1027