RHEL 6 tput command in /etc/profile.d/colorls.csh fails
Issue
- If the $TERM environment variable is undefined, as in an at job or in a non-interactive tcsh shell, the tput command in the /etc/profile.d/colorls.csh script fails, producing the following message:
tput: No value for $TERM and no -T specified
Environment
- Red Hat Enterprise Linux (RHEL) 6
- coreutils-8.4-16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
