VideosMy ProjectsProgramming BlogGallery
  1. Home
  2. Blog
  3. How to nest commands in bash
Programming Blog

Atom/RSS Feed

bash

How to nest commands in bash

bash

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

Join my mailing list