Welcome to our website
To take full advantage of all features you need to login or register. Registration is completely free and takes only a few seconds.
How to change the terminal colors from command line or console
Posted by Philipp Esselbach on: 11/24/2010 03:28 PM [ Print | 0 comment(s) ]
Linuxers shows you how to change the terminal colors from command line or console
So, I have been working on this console based project. I wanted to make certain messages - warning etc. to be highlighted so that it could catch the user's eye easily. Since, the code was in C, I looked for printing colour using printf and came to know about this old school way of changing a terminal colours through commands.
Earlier using escape sequences (because they start with an escape character) people used to manage remote terminals. You can try this out in your own terminal. All we have to do is echo the escape sequence.
Earlier using escape sequences (because they start with an escape character) people used to manage remote terminals. You can try this out in your own terminal. All we have to do is echo the escape sequence.
How to change the terminal colors from command line or console
Related Threads
05/12/2005 02:27 AM: How to change sound driver in CentOS? (1) by danleff
02/14/2005 04:45 AM: NEWBIE! How to create a destination folder?? (7) by iamroot
01/22/2005 02:03 PM: How to change MTU of FC2? (0) by serverxeon
01/18/2005 05:39 PM: how to configure usb ADI adsl modwm on suse 9.2 (0) by kisina
05/30/2006 06:45 AM: How to change, alter, or completely remove Grub Boot Loader from Windows XP? (6) by fitzy
10/19/2004 06:02 AM: How to configure freeradius on Fedora Core 2? (0) by bobier
10/09/2004 05:07 PM: how to config the sound card in the mandrake 10.0 (4) by egorgry
06/11/2004 02:20 AM: How to configure java in konqueror? (19) by Dapper Dan
06/24/2004 08:28 AM: How to check ISO with MD5sum ? (11) by iamroot
10/25/2003 01:20 AM: How to change the video driver in Fedora Gnome (0) by r12a13b
02/14/2005 04:45 AM: NEWBIE! How to create a destination folder?? (7) by iamroot
01/22/2005 02:03 PM: How to change MTU of FC2? (0) by serverxeon
01/18/2005 05:39 PM: how to configure usb ADI adsl modwm on suse 9.2 (0) by kisina
05/30/2006 06:45 AM: How to change, alter, or completely remove Grub Boot Loader from Windows XP? (6) by fitzy
10/19/2004 06:02 AM: How to configure freeradius on Fedora Core 2? (0) by bobier
10/09/2004 05:07 PM: how to config the sound card in the mandrake 10.0 (4) by egorgry
06/11/2004 02:20 AM: How to configure java in konqueror? (19) by Dapper Dan
06/24/2004 08:28 AM: How to check ISO with MD5sum ? (11) by iamroot
10/25/2003 01:20 AM: How to change the video driver in Fedora Gnome (0) by r12a13b
