Answers for "how to add text to promt in linux"

0

how to add text to promt in linux

PS1="[\u@\h (task-7.2) \W]# "
# run this in shell and the output will look like [root@localhost (task-7.2) ~]#
Posted by: Guest on November-11-2020

Code answers related to "how to add text to promt in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language