After update to RHEL 7.7, login as user with csh tcsh shell gives the error "if: Expression Syntax"

Solution In Progress - Updated -


  • After updating to kernel version 3.10.0-1062.el7.x86_64 the shell prompt has changed from "name@host: /full/path" to "[name@host current_directory]$".
  • When I log in as a user whose default shell is csh or tcsh, I get a syntax error.
  • csh and tcsh users' .cshrc or .tcshrc files are not parsed when the users logs in after updating to RHEL 7.7.


  • Red Hat Enterprise Linux 7.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In