stty
Set or get options for a terminal device interface. tldr-pages
On several platforms
Several platforms
Display current terminal size
stty sizeIdentifyDisplay all settings for the current terminal
stty --allIdentifySet the number of rows or columns
stty rows countIdentifyGet the actual transfer speed of a device
stty --file path/to/device_file speedIdentifyReset all modes to reasonable values for the current terminal
stty saneIdentifySwitch between raw and normal mode
stty rawIdentifyTurn character echoing off or on
stty -echoIdentifyDisplay help
stty --helpIdentify