linux - 终端给出前缀 : To-be-filled-by-O-E-M

标签 linux ubuntu terminal console

Ubuntu 12.04.5
终端看起来像:maxim@maxim-To-be-filled-by-O-E-M:~$
如何删除 -To-be-filled-by-O-E-M ?
这发生在 Ubuntu 重新安装之后。
截图:enter image description here

最佳答案

发现问题:
重命名/etc/hosts 中的主机:127.0.1.1 maxim-To-be-filled-by-O-E-M 为 maxim
和必要的 - 将文件/etc/hostname 中的主机名从 maxim-To-be-filled-by-O-E-M 重命名为 maxim 例如

关于linux - 终端给出前缀 : To-be-filled-by-O-E-M,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27639718/

相关文章:

linux - Password expires 和 Account expires 和有什么不一样? chage -l 用户名命令的输出

c - 通过 POSIX tdelete() 访问节点数据

node.js - Upstart 重生健康过程

macos - 在pycharm终端windon上的提示上设置路径

C++ 只打印一条语句

java - raspbian : Cannot execute binary file: Exec format error 上的 Flyway 问题

gcc - 在 Linux 上编译/链接电子文本编辑器时出错

ruby - Ubuntu Saucy (13.10) 上的 Gsl gem

node.js - 使用 Vue-cli 创建的项目部署生产模式

python - 交互式 Python 终端无法正确打印