Put file in home dir, chmod 744, change "cd {}/public_html" to your drupal dir. Run: /bin/bash /home/user/subdir.sh "drush up --security-only --no-core -y"
Get raw version
bash
#!/bin/bash echo $1; cd domains/ find . -maxdepth 1 -type d -exec bash -c "(cd {}/public_html && echo '$(tput bold)$(tput setaf 1)ENTER: $(tput setaf 2){}$(tput sgr 0)' && $1)" ";"