The ksh scripts fail with "cannot execute [Exec format error]" message on Red Hat Enterprise Linux 5

Solution Unverified - Updated -

Issue

  • Korn shell (ksh) scripts may fail with the "cannot execute [Exec format error]" error message for the last command in the pipeline

Environment

  • Red Hat Enterprise Linux 5

  • ksh-20080202-2.el5 (the AT&T ksh93 implementation)

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