Substituição do comando Bash

# Basic syntax:
$(command)

# Example usage:
for file in $(ls)
do
  echo $file
done
--> # all files in your current directory are echoed
Charles-Alexandre Roy