Trong khi đi mò fix cái vụ sudo, mình thấy cái link bày cách làm cho PROMPT của root và user thành xanh đỏ hoa lá cành, vui mắt (nhưng các hacker đen xì chắc là chê). Copy cho ai muon nghich:
https://wiki.archlinux.org/index.php/Color_Bash_Prompt#Applying_changes https://wiki.archlinux.org/index.php/Color_Bash_Prompt#Applying_changes Basic prompts The following settings are useful for distinguishing the root prompt from non-root users. Regular user A green prompt for regular users: [chiri@zetsubou ~]$ _ ~/.bashrc #PS1='[\u@\h \W]\$ ' # Default PS1='\[\e[1;32m\][\u@\h \W]\$\[\e[0m\] ' Root A red prompt for root (copy from /etc/skel/, if not already): [root@zetsubou ~]# _ /root/.bashrc #PS1='[\u@\h \W]\$ ' # Default PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] ' Slightly fancier prompts Regular user A green/blue prompt for regular users: chiri ~/docs $ echo "sample output text" sample output text chiri ~/docs $ _ PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
