FG
💻 Software

How do you change the default TERM value set at console login (Ubuntu)?

Fresh7 days ago
Mar 15, 202621635 views
Confidence Score0%
0%

Problem

The $TERM shell value in Ubuntu defaults to "xterm" for a console login. How can I change it so it defaults to "xterm-color"? I'm asking because it looks like this is the easiest way to turn-on the color prompt. I am aware you can reset the TERM value in the .bashrc or other login script, but I'd r…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do you change the default TERM value set at console login (Ubuntu)?

Low Risk

The TERM variable stores the name of an entry in the terminfo database that helps the OS determine how to display information to your terminal. What it defaults to depends entirely on how you've logged in. Usually, "the console" means you're physica…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment