stty

Set options for a terminal device interface. More information: https://www.gnu.org/software/coreutils/stty.

stty --all

stty rows|cols count

stty --file path/to/device_file speed

stty sane