1# Using echo
2echo -e "Line 1\nLine 2"
3echo "Line 1 $HOME expanded
4Line 2"
5echo 'Line 1 $HOME not expanded
6Line 2'
7
8# Similar result, using cat
9cat <<EOF
10Line 1 $HOME expanded
11Line 2
12EOF
13cat <<'EOF'
14Line 1 $HOME not expanded
15Line 2
16EOF
17