- Custom Prompt (GLOBAL for all users):
If you have personalized Prompt for every user individually, the following configuration will override it.
Create and edit file custom_prompt.sh
Code: Select all
vim /etc/profile.d/custom_prompt.sh
Code: Select all
#!/bin/sh
export PROMPT_COMMAND='export PS1="[\t] \[\e[01;33m\][\v] \[\e[01;36m\][\u]\e[m@\[\e[01;31m\][\H] \[\e[01;32m\][\w]\[\e[01;33m\] \n => $\[\e[00m\] "'