Here Documents and Here Strings
<<EOF feeds several lines to a command. <<< feeds a single string. Quote the marker to stop expansion.
Example
name=Ada
cat <<EOF
Hello $name
Line two
EOF
cat <<'EOF'
No $expansion here
EOF
tr a-z A-Z <<< "shout"Result
Hello Ada Line two No $expansion here SHOUT
Exercise
Feed several lines.
cat <<Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.