Linux/Basic commands/stty
< Linux | Basic commands
Jump to navigation
Jump to search
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 ''