Welcome to the most active Linux Forum on the web.
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 06-19-2003, 01:27 PM   #1
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
font color

Hi all,

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

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

Rep: Reputation: 60
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.

export PS1="\d \@ \[\e[32;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[32;1m\] $ \[\e[0m\]"
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 01:54 PM.


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

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration