You can use the cat command as a simple text editor for creating or appending files.
If you want to write a small file just:
cat > file << "EOF"> put> your> text> here> EOF
and then you'll have written your file with the text you put in.
Can also use echo!
echo "I like > to eat cucumbers > with my cheese" >> file.txt