Skip to main content
Welcome guest. | Register | Login | Post

Simple Text Editor

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

and then you'll have written your file with the text you put in.


Can also use echo!

Can also use echo!

echo "I like
> to eat cucumbers
> with my cheese" >> file.txt

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.