Shell Conversion Error While Switching To Sudo Batch OS Linux User On SaaS/PaaS Instance (Doc ID 2293022.1)

Last updated on AUGUST 02, 2017

Applies to:

Oracle Linux Cloud Service - Version Oracle Linux 5.0 and later
Linux x86-64

Goal

Why does shell script fail with error below which works good on UNIX server.

-bash: trap: KEYBD: invalid signal specification
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms