Fixing: “unknown terminal type” in shell


Assuming you are using bash
Add the following to ~/.bash_profile

TERM=vt100
export TERM

and then from shell

source ~/.bash_profile

Note: ‘vt100’ could be replaced with something similar in /usr/share/terminfo/

,

Leave a Reply

Your email address will not be published. Required fields are marked *