linux set prompt to current user code example
Example: linux change prompt to current user
# environment variable PS1 to customize prompt
# \u current user
export PS1="\u : "
#example
username:
# environment variable PS1 to customize prompt
# \u current user
export PS1="\u : "
#example
username: