How to change the color of your Linux terminal/bash/shell

root@server ~ # cd /dev/null


#!/Short and easy method

$ For current user using curl

curl -o ~/.bashrc https://dnkr.ch/bashrc

$ For current user using wget

wget -O ~/.bashrc https://dnkr.ch/bashrc

$ After this you must logout or reboot


$ For root using curl

sudo curl -o /root/.bashrc https://dnkr.ch/bashrc

$ For root using wget

sudo wget -O /root/.bashrc https://dnkr.ch/bashrc

$ After this you must logout or reboot


#!/Manual method

$ Copy content from dnkr.ch/bashrc

$ Replace content of file .bashrc in your user directory eg. /root/.bashrc or /home/user/.bashrc with the code you just copied

$ Save and exit the file

$ Logout or reboot