VIM configuration profile for sh/bash is incorrect

Solution Verified - Updated -


  • Get a syntax error with BASH shell scritps when editing in VIM. Edit following shell script with vim:

    echo -e "Enter your name: \c"
    read name
    echo "Your name is $name"


  • Red Hat Enterprise Linux (RHEL) 5.2 (and later)
  • vim-common-7.0.109-6.el5

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