Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-10-2004, 05:32 AM   #1
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
Question escape sequence for changing color of prompt

I remember reading in some tutorial about bash that if you use escape sequence in PS1 variable you can change the color of the prompt.

I remember it were something like: \[012 or something

But i can find were i read it anymore...
Can anyone point me in how to accomplish that?
Old 02-10-2004, 07:40 PM   #2
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing the authentication sequence nikhilstar General 0 05-04-2005 12:49 AM
boot sequence stops before login prompt rdnelson Linux - General 2 10-18-2004 09:56 AM
escape sequence help in C name_in_use450 Linux - General 6 07-01-2004 09:23 AM
smiley face escape sequence problem mandrakeroot Programming 12 09-06-2003 06:11 PM
Prompt Color medamnit Linux - Newbie 4 05-06-2002 11:03 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration