auto setterm


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers auto setterm
# 1  
Old 01-06-2006
auto setterm

I need to change color of text in shell. I do it like that
#setterm -foreground green -store
but when I reboot computer color changes to default, how to make it autochange color
# 2  
Old 01-06-2006
Try adding it to the login's .profile or .login (it matters which shell you are using)
# 3  
Old 01-06-2006
I usually use bash, can you write example of code
# 4  
Old 01-06-2006
Just use the same command but put it in one of the following (info found in bash man page):
any of the personal initialization files ~/.bash_profile,
~/.bash_login, or ~/.profile. By default, bash reads these
files when it is invoked as a login shell

Then logout and back in or just start another session to check it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands

When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies

2. Shell Programming and Scripting

auto increment

Hello Does anyone know how to auto-increment the value of a variable, preferably using awk or sed? I need to read values from a file and auto-increment those values to use them as line numbers I'd be doing: while read line do # auto-increment sed -n${line}p file> file1 done... (6 Replies)
Discussion started by: loperam
6 Replies

3. Shell Programming and Scripting

Auto Scheduling

Hi guys, I have a problem that can be solved using a scheduler, but unfortunately I am not supposed to (ask the client). PROBLEM: I have a script that once kicked off manually, will automatically kick off itself after every 15 minutes interval. Please share the code that would put this... (4 Replies)
Discussion started by: ChicagoBlues
4 Replies

4. UNIX for Dummies Questions & Answers

auto logout

How do I disable the auto logout for remote logins to a host (2 Replies)
Discussion started by: lethgowerboy
2 Replies

5. Shell Programming and Scripting

auto decode a value to different value

Okay, This is not something I've tried to do before, but what I want (need) to do is when a value is read in it gets changed to the value needed. I've been given a list of ids that I need to check against the ids I have in my system, but as is the case we don't have the same naming convention... (2 Replies)
Discussion started by: nhatch
2 Replies

6. Solaris

auto mail

Hi All, I have solaris 8 on sparc machine, i need to know how i can let my system send to my e-mail any impacts or troubles.... how i can do that?! :confused: thx, (1 Reply)
Discussion started by: ahmad_one
1 Replies

7. Filesystems, Disks and Memory

auto quotas?

Heres a stupid question to all you Linux gods/goddesses. Is there any way to have the system automatically set user quotas when a user account is created or does it have to be done by hand or a script. Every article, thread, anything Ive read so far only shows how to set quotas manually. Any... (3 Replies)
Discussion started by: mcady_02
3 Replies

8. UNIX for Dummies Questions & Answers

Auto Complete

Hi ! Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ? Thanks! Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies

9. UNIX for Dummies Questions & Answers

Auto reply

hi I am using Pine to recive my mails. Can any one help out how i can effectivley use the auto reply. The auto reply should not for all of my mails recieved. It should be for some mail ids which i have specified. Is there any way to do? Thanks in advance (1 Reply)
Discussion started by: Muthukumaran
1 Replies
Login or Register to Ask a Question