有什么方法可以在 bash 中显示完整的主机名而不是部分?
现在domain.com是:
domain.com
user@domain:~$
希望它是:
user@domain.com:~$
Debian 8.5
debian hostname
debian ×1
hostname ×1