Articles
bash
How to nest commands in bashbash

To use nested commands in bash you can surround the child command with backticks `** or **${}

Code examples

echo "10"

10

echo "my id is: $(echo "10")"

my id is: 10