Colour Terminal


I am booting my pi as text with autologin.

Even after modifying the bashrc file in the /home/pi folder, I still see the text in white. I know that the color is enabled, because during the boot, I see the OK in green, so the terminal seems enabled for color, but nothing show up when I run ls -la or other commands.

What am I missing? I did enable force_color_prompt=yes in bashrc; and uncommented the lines where the aliases include the --color=autol but still nothing happen.


Close this, dear “admins”; it is clear that you can’t even read a question right.

Also please downvote more this question; after all your mental age is not higher than 10; so feel free to act like frustrated teens on a forum, and hide in real life 🙂


put on hold as off-topic by Milliwaysgoldilocks 7 hours ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • “This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center.” – goldilocks

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    what response does echo $TERM get you? – Jasen 16 hours ago
  • your question has nothing to do with the RPi … it is a Linux question …. research debian linux terminal colors– jsotola 11 hours ago
  • @jsotola please point me to where I said that this was a RPI issue. Please take time to read a question, if you are going to reply. – rataplan 8 hours ago
  • @tlfong01 Sadly not; that one refer to the terminal app in X11; I am running in pure terminal. I have no color except when the Pi boot up raspbian; that’s the only time I see some green in the text. Also I have fully enabled the color options in bashrc so I am not sure what is missing there. Just as example, on OSX I can see colors no problem when I open terminal, after enabling export CLICOLOR=1 and setting LSCOLORSbut on Raspbian I can’t get the same (I assume because Raspbian is pure console terminal while OSX terminal run inside OSX GUI?) – rataplan 8 hours ago
  • @Jasen When I try that I get nothing back. The variable is empty – rataplan 7 hours ago
  • jstotola is correct that this issue is not pi specific, and you will have better luck if you research it that way (eg., do not include “raspberry pi” in your search terms). – goldilocks 7 hours ago
  • @goldilocks did you read the question? I never said it happen only on raspberry pi or that it is a raspberry pi issue. I said I HAVE a raspberry pi with RASPBIAN and the changes to the bashrc does not trigger the color. Since I am using the pi and raspbian, logic dictate that asking on the pi exchange has more chances to find someone that did experience the same issue. – rataplan 5 hours ago
  • there’s probalby more skill to address this problem in the “unix and linux” stack exchange as the TERM variable is common to all of that. it supposed to be automatically set , but I am not sure how that is meant to happen. – Jasen 3 hours ago
  • So the RPI community, that use this OS most predominantly does have less collective knowledge than the generic Linux community? I tried the usual methods for getting color in console; from generic linux forums (looking at debian based distro of course); and when that failed, I thought that posting on the RPI community would make more sense; considering that I can run colors in terminal on both OSX and Ubuntu on my VM installation. I will check there; thanks for the suggestion. – rataplan 37 mins ago


The terminal emulation also plays a role with colors on the text console. I just don’t know how it is set by default because I set it always to linux. You can get your setting with:

rpi ~$ echo $TERM

Try to set it in ~/.profile as first command:


then logout/logon and look if it helps.


  • Thanks, I will try this out today. As now the $TERM variable is empty – rataplan 7 hours ago
  • Hi @Jasen, you tried to add ´export TERM` to the answer. Sorry, but I haven’t accepted it because it is not needed. ~/.profile is a login file similar to ~/.bashrc. It is sourced to the calling bash so there is no need to export environment variables when set in ~/.profile. – Ingo 3 hours ago
  • sorry to drag you in this childfest; I tried to delete this question but it won’t allow me because you posted on it. You have been the only one that was kind enough to help, thanks for your time. – rataplan 44 mins ago

Not the answer you’re looking for? Browse other questions tagged  or ask your own question.

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: