Quiero ejecutar un comando cuando el usuario se vuelve inactivo (el sistema está inactivo). Por ejemplo: echo "You started to be inactive." Además, cuando el usuario vuelve a estar activo (el sistema ya no está inactivo): echo "You started to be active, again." Necesito un script de shell que...