How do I change the color of Korn Shell prompt ?

Solution Verified - Updated -

Issue

  • We have some regular and application users using ksh, even after modifying the PS1 variable in /etc/profile, it did not take effect for ksh users.

  • How do I change the color of ksh shell prompt ?

Environment

  • Red Hat Enterprise Linux (All Releases)
  • Ksh

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.