How to insert EOL?

How can I insert End of line (EOL) in Unix to file. Thanks

  1. Open the file in some editor
  2. go to the last character of the file, press enter :wink:
echo "" >> filename

did not work !

What is your file contents? Did you get any error message?

Show us more detail.

As far as I know EOL is a newline or a line break to represent end of a line of text.

So you can append it simply by running:

printf "\n" >> filename