Add new line character at the end of file in bash -


how can use bash command line add new line character @ end of file named file.txt. tried use echo it's not right. can show me how can it?

echo "" >> file.txt 

adds newline character @ end


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -