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
Comments
Can also use echo!
by valan | Fri, 2006-06-16 14:32Can also use echo!
echo "I like> to eat cucumbers
> with my cheese" >> file.txt