Answers for "linux change prompt to current user"

2

linux change prompt to current user

# environment variable PS1 to customize prompt
# \u current user
export PS1="\u : "
#example
username:
Posted by: Guest on June-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language