#!/usr/bin/env bash # Linux for _dev_tty in $(find /dev -type c -name 'tty[0-9]*'); do TERM=linux setterm -blank 0 -powerdown 0 >>"${_dev_tty}" done