Sample Header Ad - 728x90

What is the difference between echo `date`, echo "`date`", and echo '`date`'?

36 votes
4 answers
177256 views
What is the difference between these three commands? echo date echo "date" echo 'date' I am confused on what the differences actually are. I think that when the ' are around it means that it is a string, therefore echo would literally output the string date instead of displaying the date?
Asked by John (3797 rep)
Nov 1, 2013, 05:33 AM
Last activity: Feb 3, 2025, 06:12 AM