stty
Set options for a terminal device interface. More information: <https://www.gnu.org/software/coreutils/stty>.
Install
- All systems
-
curl cmd.cat/stty.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install coreutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/stty sttypowered by Commando
Set options for a terminal device interface. More information: <https://www.gnu.org/software/coreutils/stty>.
-
Display all settings for the current terminal:
stty --all -
Set the number of rows or columns:
stty rows|cols count -
Get the actual transfer speed of a device:
stty --file path/to/device_file speed -
Reset all modes to reasonable values for the current terminal:
stty sane
© tl;dr; authors and contributors