Results 1 to 7 of 7
hi,
how do i change the text color of console from the default color grey to green? thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-14-2003 #1Just Joined!
- Join Date
- Jul 2003
- Posts
- 6
Change text color in console terminal?
hi,
how do i change the text color of console from the default color grey to green? thanks
- 07-14-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Sigh... oh, well, do as you wish. Add this to your /etc/rc.d/rc.local:
Code:echo -en \\033[32m\\033[8] >/dev/console
- 07-14-2003 #3Just Joined!
- Join Date
- Jul 2003
- Posts
- 6
i tried to add that script to "rc.local" and this is the code look like? Still no change in my text color.
help again.thanks
Code:#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local echo -en \\03332m\\033[8] >/dev/console
- 07-14-2003 #4Just Joined!
- Join Date
- Jul 2003
- Posts
- 6
i missed type the code , here the code again... thanks
p.s can i change the bashrc for txt color?[/code]Code:#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local echo -en \\033[32m\\033[8] >/dev/console
- 07-14-2003 #5Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
That should have worked, but try adding it to your .bashrc instead, but in that case without ">/dev/console".
- 07-14-2003 #6Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
You executed the rc.local program right..?? but it didnt work??
Regards
Andutt
- 07-14-2003 #7Just Joined!
- Join Date
- Jul 2003
- Posts
- 6
thank you dolda, it suddenly work.... i just forgot to restart the pc ealier.. thanks
thanks


Reply With Quote
