LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-10-2004, 05:32 AM   #1
killer_bunny
Member
 
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
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
link
 
  


Reply


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


All times are GMT -5. The time now is 12:53 AM.

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