Question: What line of Bash script probably produced the output shown below?

  1. `echo "The date is: !"`
  2. `echo "The date is: date!"`
  3. `echo "The date is: (date)!"`
  4. `echo "The date is: $(date)!"`

Answer: The correct answer of the above question is Option D:`echo "The date is: $(date)!"`