码迷,mamicode.com
首页 > 其他好文 > 详细

Ubuntu: How to Change the Computer Name

时间:2014-05-04 11:55:30      阅读:390      评论:0      收藏:0      [点我收藏+]

标签:des   style   class   code   tar   ext   

Ubuntu: How to Change the Computer Name

You might run into a situation that requires you to change your computer name, either because you need it to meet a naming scheme or you’re just bored with it and want something better. By following these steps, you’ll give your computer a new identity in no time.

1. Open a terminal window.

2. Input the following command and hit Enter: gksudo gedit /etc/hostname

3. When prompted, enter the administrator password and click the OK button.

4. The hostname file will open, displaying the current computer name. Replace the current computer name with the desired new name.

5. Click Save.

6. Close all open windows and restart your system.

After your system has restarted, it will have the new computer name.

Ubuntu: How to Change the Computer Name,布布扣,bubuko.com

Ubuntu: How to Change the Computer Name

标签:des   style   class   code   tar   ext   

原文地址:http://www.cnblogs.com/aqi0530/p/3705432.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!