Jump to content

Linux/Basic commands/stty

From Wikiversity

stty command allows to set the options for a terminal device interface. For example you can disable Ctrl+C or Ctrl+Z in your scripts using the following commands.

  • To disable Ctrl+C:
    stty intr ''
  • To disable Ctrl+Z:
    stty susp ''