Linux 修改字段[root@localhost root]$ 成[root@localhost root]#

vi /root/.bash_profile

PS1="[\u@\h root]\#"

保存退出

执行source /root/.bash_profile

本文出自 “让我men共同成长” 博客,谢绝转载!

你可能感兴趣的:(修改字段)