$TERM
–
Terminal Capabilities
$TERM contains an identifier for the current window’s capabilities.
It’s not a BASH builtin variable, but is often defined in environments.
Links
Examples
- Print the terminal capabilities
- Output:
1echo $TERM1xterm-256color
BashSupport Pro is a Bash IDE with support for $TERM – try it now!