#!/bin/bash for tty in /dev/tty[0-9]; do /usr/bin/setleds -D +num < "$tty" done