How to Remove all empty lines in a file on Linux and Windows? Remove empty lines from file.txt via Linux…