有趣的事

修改hostname

1.命令,重启失效

hostname newname
```

2.修改文件,两个

vim /etc/hostname

vim /etc/hosts
```

ubuntu