probably the most useless of all command combinations… but for whatever reason… like you don’t have an editor that can only write but not read files:

it will just keep overwriting the file…

cat << EOF > editor_for_poor.txt; # starts cat in interactive mode, creates a file and writes to that file
> this was written
> with a very cheap editor
> EOF
admin