Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change shell prompt color linux

vim $HOME/.bashrc

# add this line at the end for a green shell prompt, press G in vim to go to file end
export PS1="e[0;32m[u@h W]$ e[m"
# logout and back in
 
PREVIOUS NEXT
Tagged: #change #shell #prompt #color #linux
ADD COMMENT
Topic
Name
2+5 =