set terminal foreground/background color
setterm -term linux -back blue -fore white -clear
http://superuser.com/questions/248299/how-to-change-background-foreground-color-on-all-existing-terminals
http://matt-linux-log.blogspot.com/2010/09/change-tty-text-and-background-colour.html
Bash Prompt HOWTO
http://www.faqs.org/docs/Linux-HOWTO/Bash-Prompt-HOWTO.html
Well explanation on Colors & Prompts in BASH
http://systhread.net/texts/200703bashish.php
Other references and resource
Xterm Control Sequences
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Xterm
http://en.wikipedia.org/wiki/Xterm
Terminal Color configuration:
http://www.pixelbeat.org/docs/terminal_colours/
More Detail visual examples:
https://wiki.archlinux.org/index.php/Color_Bash_Prompt
Modified:
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[32m\]\$
No comments:
Post a Comment