Prompt

Moki Lv6

User (/etc/bash.bashrc):

1
PS1="\[\033[34m\][\D{%Y-%m-%d} \t] \[\033[1;32m\]\u@\h:\[\033[1;34m\]\w\[\033[37m\]\e[m\n$ "

Root (/root/.bashrc):

1
PS1="\[\033[34m\][\D{%Y-%m-%d} \t] \[\033[1;31m\]\u@\h:\[\033[1;34m\]\w\[\033[37m\]\e[m\n$ "
On this page
Prompt