Linux Basics

EOF

Called a here document EOF is for End Of File and it’s used like this

cat << EOF > file.txt
This is a test
more content
EOF

but EOF can be any string that won’t otherwiise appear in the input.

Bloging

#ls -l
test1 test2 test3 test4
#cat test?
test1
test2
test3
test4