catで複数行の文字を入力してファイルへ出力
$ cat <<'EOF' >> /tmp/cat_test.txt heredoc> cat heredoc> test heredoc> text heredoc> EOF $ $ cat /tmp/cat_test.txt cat test text
たまに使う
$ cat <<'EOF' >> /tmp/cat_test.txt heredoc> cat heredoc> test heredoc> text heredoc> EOF $ $ cat /tmp/cat_test.txt cat test text
たまに使う