📜  如何在 linux 中向 promt 添加文本 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:51:49.337000             🧑  作者: Mango
代码示例1
PS1="[\u@\h (task-7.2) \W]# "
# run this in shell and the output will look like [root@localhost (task-7.2) ~]#