Набрать текст в Linux

$ xdotool type 'Hello, world!'

Читайте также:  Настройка стека LEMP (Nginx, MariaDB, PHP 7.2) на RHEL 8/CentOS 8