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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content