I am getting below error while running top and clear command. this is centos 7, and I can see env is set as xterm.
please help if any knowing about it.
[root@abc ~]# top
'xterm': unknown terminal type.
[root@abc~]# clear
'xterm': unknown terminal type.
[root@abc ~]# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
[root@abc ~]# env | grep -i term
TERM=xterm
ncurses-base Package was there. but any one was removed terminfo and tabset folder from /usr/share. I copied from another server , now working fine.
thanks guys for your help.