https://ubuntuask.com/blog/how-to-use-command-substitution-in-bash