Linux/Basic commands/stty
< Linux < Basic commands
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 ''