"Hi?"를 output 파일에 덮어쓰기echo "Hi?" > output
input 파일 내용을 cat으로 읽어서 출력cat < input
error 파일에 저장curl <http://definitely.not.exists> 2> error
curl <http://definitely.not.exists> &> output_and_error
"More Content!"를 output 파일 뒤에 추가echo "More Content!" >> output
cat <<< "Inject directly!"
cat <<EOF
Hello, world!
This is multiline string!
EOF