setterm
Set terminal attributes such as colors, cursor visibility, and screen blanking. tldr-pages
On Linux
Linux
Set terminal attributes such as colors, cursor visibility, and screen blanking. Note: Some options only work in virtual consoles (TTY).
Clear the screen
setterm --clearIdentifyMake the cursor visible or invisible
setterm --cursor onIdentifyTurn blinking text on or off
setterm --blink onIdentifySet the text color
setterm --foreground defaultIdentifySet the background color
setterm --background defaultIdentifySet the screen blanking timeout in minutes (0 disables blanking)
setterm --blank 0..60IdentifyReset the terminal to its default state
setterm --resetIdentify