https://parzibyte.me/blog/2020/03/30/bash-obtener-salida-comando-ejecutar-otro/
Bash: obtener salida de comando para ejecutar otro