UBUNTU DUMP‎ > ‎

Change terminal colours

posted 6 Oct 2017, 13:35 by Donald Ross
sudo nano ~/.bashrc
#add this to the end of the file
PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '
#save and exit
crtl o <enter>
crtl x
#force change
source ~/.bashrc

Comments