LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-19-2003, 12:27 PM   #1
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
font color


Hi all,

could someone please tell me how to change the font color in run level 3 to green. Thank You.



Joey
 
Old 06-19-2003, 12:52 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
See the article Prompt magic: Enhancing the system prompt

These are my favorites:

Try this in the user and root .bashrc files for a neat bash prompt with date, time, working directory and color.

user:
Code:
export PS1="\d \@ \[\e[32;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[32;1m\] $ \[\e[0m\]"
root
Code:
export PS1="\d \@ \[\e[31;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w \[\e[31;1m\]# \[\e[0m\]"

Last edited by fancypiper; 06-19-2003 at 12:54 PM.
 
  


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
Terminal font and color berkay Linux - Newbie 10 09-23-2004 02:19 AM
Blackbox Font Color meindlj Linux - Software 1 05-11-2004 01:01 AM
Xterm font color aeruzcar Linux - Software 7 10-11-2003 10:15 PM
change font color...no NOT in X centr0 Slackware 4 05-01-2003 03:29 AM
Changing font color uglyvorys Linux - General 2 02-02-2003 12:39 PM


All times are GMT -5. The time now is 04:25 PM.

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