Command Substitution
In Bash, we can save the command line output of a command to a variable.
This can be done by $ ( command )
dir=.
count=$(ls $dir | wc -l)
echo "There are $count files at location $dir"
# There are 4 files at location .
In the above example, we count...
datainfra.hashnode.dev1 min read