My Oracle Support Banner

How to Disable Ctrl+c or Ctrl+z Using the "trap" Command (Doc ID 2199243.1)

Last updated on MAY 18, 2021

Applies to:

Linux OS - Version Oracle Linux 7.2 with Unbreakable Enterprise Kernel [4.1.12] and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64


 The purpose is to disable CTRL+C or CTRL+Z interrupt for the root user or a general user account by the trap command 


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.