Search code examples
ubuntuterminalls

How to change colors of Bash in Ubuntu


enter image description here

I'm working in an Ubuntu 16.04 (Xenial Xerus) VPS. I can barely read the dark blue print in Bash in the screenshot. How can I modify the colours in Bash?


Solution

  • To change colors in terminal settings, use menu TerminalPreferencesProfilesEdit → tab Colors

    Command line:

    nano ~/.bashrc
    # Insert at the end. This will make your directory's red
    LS_COLORS=$LS_COLORS:'di=0;31:' ; export LS_COLORS
    # Save file
    # Restart terminal